With my new favorite language Kotlin, I’ve been able to code in more amazing ways than before. Last time, I ported P5.js to Kotlin. This time, I tried JavaFX Canvas.
If you are torn between programming and physical simulations that give pleasing visual results, you wouldn’t want to miss reading The Nature of Code by Daniel Shiffman. The book covers programming techniques to create simulations of natural systems. The language used in the book is Processing. Since I always wanted to be unique and different, I picked JavaFX Canvas to recreate the examples in the book.