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://thecodingtrain.com/learning/nature-of-code/2.5-gravitational-attraction.html
|
||||||
// https://editor.p5js.org/codingtrain/sketches/MkLraatd
|
// https://editor.p5js.org/codingtrain/sketches/MkLraatd
|
||||||
|
|
||||||
|
p5.disableFriendlyErrors = true;
|
||||||
|
|
||||||
let movers = [];
|
let movers = [];
|
||||||
let attractor;
|
let attractor;
|
||||||
var canvas;
|
var canvas;
|
||||||
@ -38,7 +40,7 @@ function setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function draw() {
|
function draw() {
|
||||||
background(0, 75);
|
background(0, 25);
|
||||||
for (let mover of movers) {
|
for (let mover of movers) {
|
||||||
mover.mouse_mass();
|
mover.mouse_mass();
|
||||||
for (let other of movers) {
|
for (let other of movers) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user