- Podcasts
- Processing in Idea
- Processing with Kotlin 2/4 - Java to Kotlin conversion
About this episode
How to convert an existing Processing+Java program to Processing+Kotlin.
The program we convert is this one:
https://github.com/hamoid/Fun-Programming/tree/master/processing/ideas/2020/03/irregularLineBetweenTwoPoints
00:00 Look at the Java version of the program
01:14 Paste a function from the Java program into the Kotlin program, fix issues with float.
04:10 Copy setup() into settings()
04:39 Copy draw() function
06:08 Show running visual effect
Kotlin documentation: https://kotlinlang.org/docs/home.html
You can play with Kotlin without downloading anything at https://play.kotlinlang.org/ (but only text output, no graphics).
More Processing & Idea videos: https://tubedu.org/c/processing_in_idea
Ask questions and access extra content at https://patreon.com/funprogramming