Hacker Newsnew | past | comments | ask | show | jobs | submit | damarberlari's commentslogin

oh wow, the book looks nice. thanks for the recommendation!


this is nice, thanks!


hi, whoa that's a nice article! simple and easy to follow.

thanks for sharing! definitely an inspiration, I might use it for next project :D


> You could pick lots of different functions, including simple linear motion (z = c * t)

that was also my first intuition when making this, but turned out making the z function linear won't make it a sphere.

to make a sphere, you have to configure it in a way so that it forms a circle with the other axes. In this vis, its the sin(0.02 * πt) and cos(0.02 * πt) part that do this.

someone makes an interactive version here: https://www.desmos.com/3d/t66etxi1y8 (thanks!) so you can try changing the z function for yourself.


ah, yes there is an instruction at the bottom, but probably its too small.

thanks for the feedback!


wow, that's nice. Thanks!


thanks!

currently the path is expressed as function of (t), and it's the t that progressed at the constant speed.

so the cube will finished one loop at the same duration, and thats why it moves much slowly at the beginning and end, where distance of one loop is smaller.

I have to admit I made it that way because it's simpler to implement:D. Making it move at constant speed require some more works, but others have provided some solutions here so I think I'll try


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

Search: