Edwin Jakobs
5 years ago
2 changed files with 27 additions and 5 deletions
@ -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>()) |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue