premasagar / js1k

1KB JavaScript apps ~ #1: Phi

Home Page:http://js1k.com/demo/695

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

~ PHI ~
http://js1k.com/demo/695

Creation and decay.
Watch these bold, organic patterns build up and etch away over time.

This visualisation uses the Golden Ratio, emerging from randomness, to determine the colour, position and intensity of its painted shapes and lines.

Click and hold the mouse for a burst of fresh colour. Refresh the page for a random tone. Let it run and run, for an ever-changing display.

In less than 1KB of JavaScript.

Golden Ratio: http://en.wikipedia.org/wiki/Golden_ratio
Source code: http://github.com/premasagar/js1k/

About

1KB JavaScript apps ~ #1: Phi

http://js1k.com/demo/695

License:MIT License


Languages

Language:JavaScript 97.8%Language:HTML 2.2%