Programming, Language: Javascript

Recent posts (Page 1 of 11)

Genuary 2026.27: Lifeform

Genuary 2026.27: Lifeform

So this one really fits better for Genuary 2026.25: Organic Geometry and that one is a lifeform like this one, so… we’ll consider them swapped or something.

Anyways, spawn branching nodes and draw a bunch of squares. Not only an organic looking lifeform but creepy to boot! I do love it without borders and with fade.

Be careful with high child count without either a high segment length or death rate to compensate, it will get slow.

read more...

Genuary 2026.20: One line

Genuary 2026.20: One line

One line… that repeatedly splits, albeit without (mostly) crossing itself.

Fractal trees GO!

  • splitChance controls how quickly the line branches
  • minChildren / maxChildren controls branching
  • angleRange is how many radians the new branches can change by
  • randomizeAngles controls if child angles are random/evenly spaced
  • spacing is roughly how spread out the tree is
  • pauseOnResetFor / stopOnReset controls what happens when a tree is done
  • colorMode changes drawing colors
  • anchor changes where the tree starts

It does get a bit sluggish, especially if you have a high number of children.

read more...


All posts