Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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!



https://i.imgur.com/cf1wOwL.png after a few minutes of running it at 240 frames per second :D


Thank you, interesting!


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?


I desperately needed that :D


Thank you for this!


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;


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;


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: