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

Chatgpt 3.5 actually gave a pretty good answer on what the code does: https://chat.openai.com/share/1d55622a-c9cc-4daf-97de-d766e2...


4.0, as expected, even seems aware it's a small code demo and some more insight https://chat.openai.com/c/68a51900-4d33-4d1b-bd14-247a739183...


Google Bard also gave a clear answer: https://imgur.com/a/8HGivir


"The animation has some randomness" - really? Where?


The expression involving Math.sin is acting as a PRNG. The vehicles have randomised sizes and speeds.




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

Search: