←back to thread

Eternal Struggle

(yoavg.github.io)
675 points yurivish | 10 comments | | HN request time: 0s | source | bottom
1. 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 #
2. personalcompute ◴[] No.45086627[source]
Here is one sample taken after 5 minutes.

https://d6f9e5179057.s3.us-west-2.amazonaws.com/Screenshot%2...

replies(4): >>45086864 #>>45087000 #>>45088081 #>>45095737 #
3. cmertayak ◴[] No.45086864[source]
I desperately needed that :D
4. 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 #
5. cdrini ◴[] No.45086908[source]
Wow! Careful Icarus, going too fast makes it go kind of wild and started freezing the site :P

data.whiteBall.v.x = data.whiteBall.v.y = data.blackBall.v.y = data.blackBall.v.x = 10;

6. 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.
7. fxwin ◴[] No.45087000[source]
https://i.imgur.com/cf1wOwL.png after a few minutes of running it at 240 frames per second :D
replies(1): >>45095739 #
8. navigate8310 ◴[] No.45088081[source]
I'm curious about using an S3 endpoint and that too in public. Aren't you worried if someone hammers your URL and drain credits?
9. jama211 ◴[] No.45095737[source]
Thank you for this!
10. jama211 ◴[] No.45095739{3}[source]
Thank you, interesting!