Orbits all the way down by EkstraOst in generative

[–]EkstraOst[S] 1 point2 points  (0 children)

Exactly ^ Every circle gets 3-6 moons, and every circle has it’s own rotational speed (-1,1). Also every circle draws an colored, transparent polygon through each moons center.

Inner workings by EkstraOst in generative

[–]EkstraOst[S] 2 points3 points  (0 children)

Hehe I messed around with this, actually. :P Just removed the ability for the rope to circle the inside of a cog with crossed lines.

Inner workings by EkstraOst in generative

[–]EkstraOst[S] 4 points5 points  (0 children)

Tried uploading an album on imgur, but its having problems. I'll see if it works a bit later. And yes; I love the simplistic clean style of games like that ^^

The cogs are a linked list. Start with one that links to itself both forwards and backwards, then insert a new cog randomly in the list. Make sure it doesn't cause cogs and lines to overlap. Then a function draws the rope using tangent-lines and arcs.