←back to thread

Eternal Struggle

(yoavg.github.io)
675 points yurivish | 1 comments | | HN request time: 0.22s | source
Show context
jama211 ◴[] No.45086278[source]
I’m really keen to see what this looks like after significant time but I’m not going to leave it open on my phone for ages just to find out haha. Clever idea!
replies(2): >>45086627 #>>45086874 #
xav_authentique ◴[] No.45086874[source]
You can execute this in the devtools console:

data.whiteBall.v.x = 5; data.whiteBall.v.y = 5;

data.blackBall.v.y = 5; data.blackBall.v.x = 5;

replies(2): >>45086908 #>>45086918 #
1. obventio56 ◴[] No.45086918[source]
Also frameRate() with 120 or higher will make it go a bit faster. But it seems like there is a limit. I'm not familiar with p5.