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

I can also recommend this book when looking for something fun to implement while learning a new language. There is also the follow ups to this taking things a bit further:

https://raytracing.github.io/books/RayTracingTheNextWeek.htm... https://raytracing.github.io/books/RayTracingTheRestOfYourLi...

I did this ray tracing library in Rust inspired by these books: https://github.com/DanielPettersson/solstrale-rust

And also a small UI using the lib: https://github.com/DanielPettersson/solstrale-desktop-rust

Kind of not maintained anymore.. But fun way learning Rust..


Nice!

Did the same kind of thing a few years ago. When my kids were in to tower defense games.

https://pettersson.casa/td2/


Came for copper i found gold. got a nice inspiration by seeing this website


haha the crayon styling is great, care to share any implementation details?


Thanks, courtesy of my kids 8 years ago. =)

The implementation is nothing fancy at all. The graphics is done with PixiJS, and there is a sprinkle of jQuery and TweenMax for the movement.


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

Search: