Writing Processing in Kotlin

I might have a look if I get a chance. Interesting with Java 14 and preview features enabled, your Circle could become.

record Circle(float radius, PVector pos, int color) {}

Not quite the same semantics - it’s immutable. You’ve also got things like List.of(...) - really interesting to see how Java itself is evolving and embracing some of these similar things now. Even better when Processing can and does! :smile:

1 Like