News for hackers. Stuff that matters.

danielpettersso

Re:Ray Tracing in One Weekend on Thursday January 02, 2025 @07:40AM (#42573918)
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..

Re:Tell HN: I let my 6-year-old daughter design my website on Tuesday February 15, 2022 @12:59PM (#30350185)
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.

Re:Tell HN: I let my 6-year-old daughter design my website on Tuesday February 15, 2022 @07:57AM (#30345820)
Nice!

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

https://pettersson.casa/td2/