75791972c9
Listen for "wheel", not "mousewheel"
...
Oops, I was using an unsupported browser event.
2018-07-05 22:49:25 -04:00
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
5493b8513c
Remove old JS files
2017-08-04 02:07:56 -04:00
a077b45866
Add comments and licences
2017-08-04 00:50:37 -04:00
2e95c51788
Oops, add all the vectors back
2017-08-03 23:06:39 -04:00
c396e551eb
Fix click not working after mouse leaves document
2017-08-03 23:04:30 -04:00
ec80c5690a
Fix mouseleave, add debug vector trajectories
2017-08-03 22:59:53 -04:00
d32e236e05
Hover, tweeningSets, rebound, scroll time, debug
2017-08-03 00:17:17 -04:00
32f3166f52
Smooth out pull animation with cycle adjustments
2017-08-01 13:18:04 -04:00
288547d690
Remove debug logging
2017-08-01 01:53:51 -04:00
a7d51d0543
Fixes to click event, also effect color
2017-08-01 01:52:21 -04:00
b3381293c0
Add click/touch pull/push effects
2017-08-01 01:34:53 -04:00
56d72715be
Disable scollDelta until less buggy
2017-08-01 00:01:48 -04:00
85d1eddedd
Actually use eslint and fix errors
2017-07-31 23:59:24 -04:00
9e660a7459
FPS keybinding. Disable by default.
2017-07-31 23:24:09 -04:00
7eac4894ed
Some cleaning up and organization, eslint
2017-05-07 20:44:46 -04:00