Commit Graph

61 Commits

Author SHA1 Message Date
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
98d9c90324 Put script tags at end of body, after canvas 2018-03-30 23:30:07 -04:00
509c468cec Merge branch 'master' of github.com:thallada/proximity-structures 2017-09-01 12:45:02 -04:00
036c9297b9 Specify type="text/javascript" on script tags 2017-09-01 12:44:40 -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
06ec0c0d85 Add github link to help dialog 2017-08-13 16:17:58 -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
d787cc306b Try wrapping an image in a link in github markdown 2017-08-08 09:53:09 -04:00
6c9a861300 Crazy ideas are the best ideas 2017-08-08 00:13:50 -04:00
09ba3979a9 Add tweaking section to readme 2017-08-07 23:02:11 -04:00
c4fea84ec5 Add Google Analytics snippet. Block me if you must 2017-08-07 22:46:10 -04:00
557d331071 Fix firefox. Use body.clientHeight, not document. 2017-08-07 22:26:04 -04:00
b949ce250f Readme tweaks 2017-08-07 22:15:37 -04:00
f0591e0c13 Add link to github hosted page. Update notes. 2017-08-07 22:00:44 -04:00
9df2a2381a Delete unneeded comment 2017-08-07 21:56:51 -04:00
8a851140c5 Add additional screenshots 2017-08-04 16:33:47 -04:00
afbeee772a Add open graph meta tags 2017-08-04 16:32:50 -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
1f711cd603 Merge branch 'master' of github.com:thallada/proximity-structures 2017-08-04 02:08:09 -04:00
5493b8513c Remove old JS files 2017-08-04 02:07:56 -04:00
e9645939de Create CNAME 2017-08-04 01:55:01 -04:00
831f5149bb Add README and gif 2017-08-04 01:50:47 -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