Asif Bacchus
|
cc83a10145
|
move javascript back to end of body
|
2020-04-10 11:31:58 -06:00 |
|
Asif Bacchus
|
330790a6db
|
remove colour settings, use CSS vars only
|
2020-04-10 11:31:31 -06:00 |
|
Asif Bacchus
|
fc13dc00bf
|
update palette
|
2020-04-10 11:30:44 -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
|
78193fa588
|
alphabetize CSS
|
2020-04-10 09:34:59 -06:00 |
|
Asif Bacchus
|
777b690443
|
add link for demonstration
|
2020-04-10 09:29:31 -06:00 |
|
Asif Bacchus
|
23873f5759
|
move javascript link to head and defer
|
2020-04-10 09:23:53 -06:00 |
|
Asif Bacchus
|
735dab3aeb
|
update minified script, checksums and html SRI
|
2020-04-10 08:55:17 -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
|
d22516867b
|
change sample palette to 'electric blue'
|
2020-04-10 08:48:02 -06:00 |
|
Asif Bacchus
|
0dcbb06b77
|
update checksums
|
2020-04-10 05:13:07 -06:00 |
|
Asif Bacchus
|
e4ecf30ec0
|
fix typo in comment
|
2020-04-10 05:11:42 -06:00 |
|
Asif Bacchus
|
1692fcc309
|
use sub-resource integrity on loaded script
|
2020-04-10 05:10:37 -06:00 |
|
Asif Bacchus
|
b9b052ef54
|
create integrity checksum list file
|
2020-04-10 05:10:25 -06:00 |
|
Asif Bacchus
|
6a9f5f42ed
|
rename scripts, update minified version
|
2020-04-10 05:10:07 -06:00 |
|
Asif Bacchus
|
46770f4da3
|
add opacity parameter
|
2020-04-10 05:04:02 -06:00 |
|
Asif Bacchus
|
aec19308ab
|
move background to body, change var name
|
2020-04-10 04:57:50 -06:00 |
|
Asif Bacchus
|
3a124e6809
|
add line-width parameter
|
2020-04-10 04:54:26 -06:00 |
|
Asif Bacchus
|
4b4682c277
|
change default sizeMultiplier to 5
|
2020-04-10 04:49:21 -06:00 |
|
Asif Bacchus
|
7f8bdb188d
|
dummy text and styling
|
2020-04-08 08:26:58 -06:00 |
|
Asif Bacchus
|
00ddc1e918
|
minify js and use
|
2020-04-08 08:20:32 -06:00 |
|
Asif Bacchus
|
9aaed758f6
|
fix typos
|
2020-04-08 08:10:53 -06:00 |
|
Asif Bacchus
|
d433bc6edc
|
change sample speed
|
2020-04-08 08:03:12 -06:00 |
|
Asif Bacchus
|
398e85a7b4
|
invert connectionDensity so it makes more sense
|
2020-04-08 07:52:15 -06:00 |
|
Asif Bacchus
|
07239b51b3
|
correction to numParticles check
|
2020-04-08 07:51:37 -06:00 |
|
Asif Bacchus
|
3983287420
|
allow for speed=0
|
2020-04-08 07:27:02 -06:00 |
|
Asif Bacchus
|
384589e9a2
|
add connection and connection density params
|
2020-04-08 07:21:24 -06:00 |
|
Asif Bacchus
|
99ddb6793f
|
fix console message typos
|
2020-04-08 07:19:31 -06:00 |
|
Asif Bacchus
|
5871623a82
|
whoops! let parameters be implicitly defined!
|
2020-04-08 07:11:03 -06:00 |
|
Asif Bacchus
|
f15eec2eb9
|
define parameters
|
2020-04-08 07:07:54 -06:00 |
|
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 |
|