A collection of code-generated octopuses


This is easily my most popular project to this day. One hundred unique code-generated octopuses published as an NFT collection.

The collection can be viewed on objkt.com.

How it was built

The technique in creating these is surprisingly simple, the main idea is to draw circles in a line while decreasing their size over time, rendering what basically looks like tentacles. The wavy aspect of each tentacle is easily achieved using a sine wave.

Once the basics are in place, it is fairly easy to tweak the generations to render cool looking octopuses. Some factors to consider are:

  • Amplitude of oscillations
  • Colour changes over the tentacle
  • Number of tentacles
  • Main direction of each tentacle


Here's a few of my favourite that came out of this project.