Live data from Hacker News

Eternal Struggle

yoavg.github.io

11–20 of 149 posts

Re: Eternal Struggle

#11
The cool thing about this is that it's self-balancing - if either side gets larger than the other due to random chance, the ball in that side will have more space to bounce in, and therefore bounce less often, slowing its growth. Meanwhile, the ball in the smaller side will bounce more often in its smaller space, making up the ground.

Re: Eternal Struggle

#14
post #2

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!

Here is one sample taken after 5 minutes. https://d6f9e5179057.s3.us-west-2.amazonaws.com/Screenshot%2...

I desperately needed that :D

Re: Eternal Struggle

#15

I guess it’s supposed to start on mouse move (based on skimming the source code). On a phone it doesn’t seem to trigger unless I changed the background so I spent a minute just staring at the symbol without anything happening lol :D

If you tap on the ying-yang it starts.

Re: Eternal Struggle

#17
post #2

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!

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;

Re: Eternal Struggle

#20
post #2

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!

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;

Post reply on HN