Upgrade to OPENRNDR 0.3.38, add TemplateLiveProgram.kt

This commit is contained in:
Edwin Jakobs
2020-01-28 00:12:33 +01:00
parent 0a478a98a6
commit 89fce80aff
2 changed files with 27 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
import org.openrndr.Program
import org.openrndr.application
import org.openrndr.extra.olive.Olive
/**
* This is a template for a live program.
* The first you will run this program it will create a script file at src/main/kotlin/live.kts
* This script file can be modified while the program is running.
*
* Please refer to https://guide.openrndr.org/#/10_OPENRNDR_Extras/C03_Live_coding for more
* instructions on using the live coding environment.
*/
fun main() = application {
configure {
width = 800
height = 800
}
program {
extend(Olive<Program>())
}
}