A bare-bones template for writing OPENRNDR programs. Contains Gradle project files and a minimal program example.
- Click the
run
widget next tomain()
in the left margin/gutter of the source file.
run
runs the template program (with the correct JVM arguments)jar
creates an überjar that contains the program and all its dependencies
Command line instructions line for this example:
- For TemplateProgram.kt
java -jar myjar.jar
OR
java -cp myjar.jar TemplateProgramKt
add -XstartOnFirstThread
to JVM arguments (at Run/Edit Configurations/VM Options if you're using IntelliJ Idea)