Go to file
2017-08-07 23:02:11 -04:00
css Some cleaning up and organization, eslint 2017-05-07 20:44:46 -04:00
img Add additional screenshots 2017-08-04 16:33:47 -04:00
js Fix firefox. Use body.clientHeight, not document. 2017-08-07 22:26:04 -04:00
.eslintrc.json Actually use eslint and fix errors 2017-07-31 23:59:24 -04:00
.gitignore Actually use eslint and fix errors 2017-07-31 23:59:24 -04:00
CNAME Create CNAME 2017-08-04 01:55:01 -04:00
index.html Add Google Analytics snippet. Block me if you must 2017-08-07 22:46:10 -04:00
LICENSE-3RD-PARTY.txt Add comments and licences 2017-08-04 00:50:37 -04:00
LICENSE.txt Add comments and licences 2017-08-04 00:50:37 -04:00
notes.md Add tweaking section to readme 2017-08-07 23:02:11 -04:00
package.json Some cleaning up and organization, eslint 2017-05-07 20:44:46 -04:00
README.md Add tweaking section to readme 2017-08-07 23:02:11 -04:00

Proximity Structures

A procedurally generated and interactive animation created with PixiJS.

Play with it here: http://proximity.hallada.net

GIF of the animation in action

A number of points are placed randomly on a canvas. They move in random directions with their own movement behavior. Each is assigned a random color. If other points travel close enough, a connection is drawn between them and each point's color becomes an average of all of its connected points' colors.

Interaction

Your mouse on the canvas will repel points away, but clicking and holding will attract points towards your mouse until you let go, which will cause the points to explode outwards in all directions.

Scrolling your mouse will speed up or slow down time.

Keybindings

Key Action
left hold to restrict points to the left of the screen
right hold to restrict points to the right of the screen
up hold to restrict points to the top of the screen
down hold to restrict points to the bottom of the screen
1 makes points move linearly
2 makes points meander
3 makes points snappy
4 makes points bouncy
5 makes points elastic
6 makes points overshoot
f enables FPS counter
d enables debug mode (including FPS counter)

Tweaking

There are many more configurable values that affect the animation which don't have an interaction or keybinding. You can find all of these at the top of proximity.js. If you are feeling experimental, you can clone the repo and edit those yourself.