This project is based on openrndr-template
FPS has been reduced to 30 for animated GIF; actual FPS is much higher
Application consists of two classes:
GameOfLife.kt
implements abstract grid and game's rulesMain.kt
renders evolution of game's initial state using OPENRNDR API
./gradlew run
runs the program (Usegradlew.bat run
under Windows)./gradlew shadowJar
creates an executable platform specific jar file with all dependencies. Run the resulting program by typingjava -jar build/libs/openrndr-game-of-life-1.0.0-all.jar
in a terminal from the project root (add-XstartOnFirstThread
for Mac OS)../gradlew jpackageZip
creates a zip with a stand-alone executable for the current platform (works with Java 14 only)