Better HN
topnewbestaskshowjobs
Log inSign up

danielpettersso

53 karma · joined Feb 15, 2022 (4y ago) · 3 submissions

Submissions

comment 1y ago · link · parent

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..

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

Nice!

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

https://pettersson.casa/td2/