Commit Graph

27 Commits

Author SHA1 Message Date
b350f1b271 Fix occasional failure to init event handlers
If the 'load' event fired on the `window` before Pixi.js ran `.load()`, then the
canvas element would not be in the DOM and an exception would be thrown before
the event handlers could be registered. Now, the event handlers are added at the
end of `loopStart`, the function called on Pixi's `.load()`.
2018-06-07 22:33:02 -04:00
6a0513e989 Bug fix: remove query for canvas before it exits 2018-03-30 23:38:18 -04:00
Tyler Hallada
18594955be Change default tweening function to overshoot 2017-08-19 15:19:54 -04:00
Tyler Hallada
b8b0e5dfb4 Fix scrollbar bug on certain viewport sizes 2017-08-19 13:53:59 -04:00
Tyler Hallada
57aa92bf83 Fix onload event 2017-08-19 13:39:10 -04:00
e8d7f8b62c Dynamically add/remove points as numPoints changes 2017-08-13 15:11:44 -04:00
dd47eef459 Allow smaller pixel points, notes 2017-08-13 03:20:53 -04:00
52b275cd0d Max travel distance, fix bugs 2017-08-13 03:09:19 -04:00
c38f19dac0 Connection limit and distance, warning 2017-08-13 02:46:51 -04:00
6b6997511e Implement reset button 2017-08-13 01:15:24 -04:00
94b6fdead2 Color shift slider, close buttons, fix mouse end 2017-08-13 00:56:47 -04:00
71459734e3 Node size and line size 2017-08-13 00:24:56 -04:00
9189522af7 Toggle FPS and debug controls 2017-08-12 23:15:24 -04:00
329b211d1c Reposition fps graphic, randomize cycles button 2017-08-12 22:41:13 -04:00
1b5c8261cf WIP fixes, adding button to randomize point cycles 2017-08-12 21:33:53 -04:00
Tyler Hallada
e97a4ee3ec WIP proper help and options panel
Keypresses not working. TweeningFns inputs are not synced.
2017-08-12 18:50:51 -04:00
ce38957abe Lazily implemented help modal 2017-08-11 01:24:18 -04:00
4de755ad6d Oops, fix hover effect radius 2017-08-11 00:48:35 -04:00
e368d09f68 Make effect radii smaller on smaller screens 2017-08-11 00:45:47 -04:00
9c84984f85 Better looking "back" tweeningSet 2017-08-11 00:20:02 -04:00
b52a1ca72c Toggle nodes & lines. Give up on 3D. 2017-08-11 00:14:33 -04:00
985128f6e2 Debug: draw affected paths different color 2017-08-10 01:25:57 -04:00
20168d1dc4 Add 3rd dimension, use sprite instead of circle
3rd dimension (z value) is not used right now, but indices were updated to
support it. I should really make a Point class...

Using a sprite image instead of drawCircle noticeably improves performance.
2017-08-10 01:07:09 -04:00
557d331071 Fix firefox. Use body.clientHeight, not document. 2017-08-07 22:26:04 -04:00
9df2a2381a Delete unneeded comment 2017-08-07 21:56:51 -04:00
9a5c9893e3 Tweak click end rebound inertia 2017-08-04 11:30:12 -04:00
f45dbd5d4c Rename field.js to proximity.js 2017-08-04 11:29:53 -04:00