Roll Your Own Squid
Earlier today I wrote about the octopus stamps and LEGO squid in my fractals repo. Those are Python scripts, so you’d need to clone the repo to make your own. Now you don’t: Claude ported both of them to JavaScript, so they run right here in the page.
Pick a style, hit New creature until you get one you like, and download it.
Parts list
| Qty | Part | Number | Colour |
|---|
Part numbers are BrickLink's. Plate Round Corner 2×2 (7904) is new in 2026, so check it comes in your colour before ordering.
What it does
It’s the same generator as the Python scripts. Every creature gets eight tentacles that wander downwards, bend with rounded elbows and usually end in a hook. They can cross over each other, and three or four are pushed to the back in a paler ink (or a darker plate colour) for some depth.
- Block print draws it as a worn rubber stamp. You can change the ink colour, how faint the back tentacles are, and turn the stamp texture off for clean shapes.
- LEGO builds it from plates on a baseplate, with round corner plates for the bends and round plates for the eyes and tips. Underneath is the full parts list with BrickLink part numbers, which you can copy or download as a CSV.
Symmetric mirrors the tentacles left and right, and Either lets it pick between a squid and an octopus.
Sharing one
The seed and settings are kept in the page address, so Copy link gives you a link straight back to the creature you made. Pressing N rolls a new one.
The browser uses a different random number generator from Python, so seed 12 here isn’t the same creature as seed 12 from the scripts.
Everything runs in your browser; there’s nothing on the server. The code is a single file, squid-generator.js, if you want to poke at it.