My entry for the 2012 JS1K competition
JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Lattice of Love

My entry for the 2012 JS1k competition. An interactive heart-shaped spirograph.

The lattice pattern is based on a hypotrochoid, but instead of rolling the inner cog around a circle it's rolled around a heart shape, described using the heart-curve equation.

813 bytes compressed, using the Google Closure compiler.

You can find the entry on the JS1k website here: