Commit Graph

73 Commits

Author SHA1 Message Date
Asif Bacchus
4ab3b04c9c function to check colours, console help displayed 2020-04-08 07:07:11 -06:00
Asif Bacchus
26cd9261e7 create func checkParams
Better organization.
Added helpful console messages.
2020-04-08 06:37:51 -06:00
Asif Bacchus
e345b58555 change particles variable to avoid confusion 2020-04-08 06:31:19 -06:00
Asif Bacchus
ba23f94eed hardcode speed division for consistency 2020-04-08 06:15:54 -06:00
Asif Bacchus
b3038644ad redo parameter handling properly, allow dynamic 2020-04-08 06:06:12 -06:00
Asif Bacchus
fb5a4675f8 change speed parameter base to 100 2020-04-08 05:26:04 -06:00
Asif Bacchus
fe51090807 create speed parameter 2020-04-08 05:23:28 -06:00
Asif Bacchus
24af3c33ac add particle multiplier parameter 2020-04-08 05:12:44 -06:00
Asif Bacchus
8d08d145c4 hover effect based on parameter (default enabled) 2020-04-08 05:10:24 -06:00
Asif Bacchus
bf5321eec5 set mouse avoidance via parameter, default enabled 2020-04-08 05:02:34 -06:00
Asif Bacchus
6b165f24da call particles function onload while testing 2020-04-08 05:00:18 -06:00
Asif Bacchus
c0e4424257 make everything one function 2020-04-08 05:00:04 -06:00
Asif Bacchus
89263b1495 set colours via css variables 2020-04-08 04:47:22 -06:00
Asif Bacchus
e937b17e17 import palette partial, use for background 2020-04-08 04:35:40 -06:00
Asif Bacchus
63971cb860 'wine' palette for testing 2020-04-08 04:35:21 -06:00
Asif Bacchus
5b0d2d108a initialize mouse position as undefined
This stops the particles from sticking at 0,0 on start.
2020-04-08 04:35:04 -06:00
Asif Bacchus
d9b18cdb9e update css with new canvas id 2020-04-08 04:29:13 -06:00
Asif Bacchus
1a519a1d55 change canvas id 2020-04-08 04:27:32 -06:00
Asif Bacchus
e52855f954 change stroke colour when mouse nearby 2020-04-08 04:18:55 -06:00
Asif Bacchus
507c5f6e38 basic animation as per tutorial 2020-04-08 04:08:51 -06:00
Asif Bacchus
b410e55915 general skeleton and linking 2020-04-08 02:56:45 -06:00
Asif Bacchus
bcfe64f427 repo setup 2020-04-08 02:56:29 -06:00
Asif Bacchus
3f99b8b62f Initial commit 2020-04-08 02:47:33 -06:00