Asif Bacchus
5d44e2d93b
remove down-right bias when bouncing normally
2020-04-10 15:04:10 -06:00
Asif Bacchus
81e41b9fd3
redefine vertical and horizontal bouncing
...
Set option to remove bounce in either/both directions.
Replace old speed based logic.
Allow for combinations of directional speeds.
Rename speed variables for consistency.
2020-04-10 14:47:26 -06:00
Asif Bacchus
330790a6db
remove colour settings, use CSS vars only
2020-04-10 11:31:31 -06:00
Asif Bacchus
95d99ff803
change speed calculations
...
Allow for independent horizontal and vertical speeds.
Allow for negative speeds to reverse directions.
Directional speed resets general speed to 1.
2020-04-10 11:26:31 -06:00
Asif Bacchus
4ba30a0a35
fix mistake in if/else if/else checkParams
2020-04-10 10:09:54 -06:00
Asif Bacchus
b8fc2eefe8
change attribution comment
2020-04-10 08:51:47 -06:00
Asif Bacchus
bbf7e3d2f2
change particle number calculation
...
Based on 1% of window width.
numParticles is a straight multiplier, so increment percentage. Simple.
2020-04-10 08:51:16 -06:00
Asif Bacchus
e4ecf30ec0
fix typo in comment
2020-04-10 05:11:42 -06:00
Asif Bacchus
6a9f5f42ed
rename scripts, update minified version
2020-04-10 05:10:07 -06:00