https://github.com/openrndr/openrndr-js-template
OPENRNDR + Kotlin/JS template
https://github.com/openrndr/openrndr-js-template
animation creative-coding data-visualization graphics interactive-visualizations
Last synced: 11 months ago
JSON representation
OPENRNDR + Kotlin/JS template
- Host: GitHub
- URL: https://github.com/openrndr/openrndr-js-template
- Owner: openrndr
- Created: 2021-07-02T17:36:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T14:00:14.000Z (over 1 year ago)
- Last Synced: 2025-04-06T04:35:18.793Z (about 1 year ago)
- Topics: animation, creative-coding, data-visualization, graphics, interactive-visualizations
- Language: Kotlin
- Homepage:
- Size: 379 KB
- Stars: 10
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OPENRNDR JavaScript template project
This is a template project for creating [OPENRNDR](https://openrndr.org/) programs specifically with Kotlin/JS.
For making a standard Kotlin/JVM-based application,
see [openrndr-template](https://github.com/openrndr/openrndr-template).
## Developing
To get started developing, run
```bash
./gradlew browserDevelopmentRun --continuous
```
This will start a local development server with hot-reloading.
Any changes you make in `/src/main/kotlin` will be reflected in the browser.
## Exporting
When the project is ready to be shared, one can export a minimized executable by running
```bash
./gradlew browserDistribution
```
This will place an `index.html` file and the `openrndr-program.js`
under the `build/dist/js/productionExecutable/` folder.
## next-version branch
Note that there is a `next-version` branch which may offer better performance or
new features.