mirror of
https://gitlab.com/MisterBiggs/Resume.git
synced 2025-06-15 17:06:39 +00:00
more tail
This commit is contained in:
parent
abaa3a1a65
commit
a22a3c02ad
@ -5,6 +5,8 @@
|
||||
// https://thecodingtrain.com/learning/nature-of-code/2.5-gravitational-attraction.html
|
||||
// https://editor.p5js.org/codingtrain/sketches/MkLraatd
|
||||
|
||||
p5.disableFriendlyErrors = true;
|
||||
|
||||
let movers = [];
|
||||
let attractor;
|
||||
var canvas;
|
||||
@ -38,7 +40,7 @@ function setup() {
|
||||
}
|
||||
|
||||
function draw() {
|
||||
background(0, 75);
|
||||
background(0, 25);
|
||||
for (let mover of movers) {
|
||||
mover.mouse_mass();
|
||||
for (let other of movers) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user