https://github.com/boydrotgans/daily-render-machine
Building sketches for daily pleasure
https://github.com/boydrotgans/daily-render-machine
Last synced: 8 months ago
JSON representation
Building sketches for daily pleasure
- Host: GitHub
- URL: https://github.com/boydrotgans/daily-render-machine
- Owner: BoydRotgans
- Created: 2022-10-07T15:08:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-07T15:10:50.000Z (over 3 years ago)
- Last Synced: 2025-04-09T20:50:18.683Z (about 1 year ago)
- Language: Kotlin
- Size: 359 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OPENRNDR template project
A feature rich template for creating OPENRNDR programs based on Gradle/Kts
The template consists of a configuration for Gradle and an example OPENRNDR program. The Gradle configuration should serve as the
go-to starting point for writing OPENRNDR-based software.
If you are looking at this from IntelliJ IDEA you can start by expanding the _project_ tab on the left. You will find a template program in `src/main/kotlin/TemplateProgram.kt`
You will find some [basic instructions](https://guide.openrndr.org/setUpYourFirstProgram.html) in the [OPENRNDR guide](https://guide.openrndr.org)
## Gradle tasks
- `run` runs the TemplateProgram
- `jar` creates an executable platform specific jar file with all dependencies
- `zipDistribution` creates a zip file containing the application jar and the data folder
- `jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only)
## Cross builds
To create runnable jars for a platform different from the platform you use to build one uses `./gradlew jar --PtargetPlatform=`. The supported platforms are `windows`, `macos`, `linux-x64` and `linux-arm64`.
## Github Actions
This repository contains a number of Github Actions in `./github/workflows`.
The actions enable a basic build run on commit, plus publication actions that are executed when
a commit is tagged with a version number like `v0.*` or `v1.*`.