I’ve also been writing Processing sketches in Kotlin for a while and am loving it!
The only thing that’s a bit annoying are the fs for Floats and the need to cast from Ints sometimes… and the warnings about private functions and properties.
To be able to type the private members faster, I setup pval, pvar and pfun live templates in IntelliJ that autocomplete the whole thing.
And to fix the Floats, I ended up creating a base sketch class with some helper methods and properties like
val widthF: Float
get() = width.toFloat()
Anyway, a small price to pay for all the great Kotlin features.
Cool tutorials @hamoid, also a good tip to make the import and switching between p3 and p4 versions really easy.

