Skip to content

openrndr/openrndr-js-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

70b7e9f · Nov 27, 2024

History

17 Commits
Nov 27, 2024
Nov 27, 2024
Nov 27, 2024
Nov 27, 2024
Jul 4, 2021
Nov 27, 2024
Nov 27, 2024
Jul 2, 2021
Nov 27, 2024
Apr 24, 2023
Jul 2, 2021

Repository files navigation

OPENRNDR JavaScript template project

This is a template project for creating OPENRNDR programs specifically with Kotlin/JS. For making a standard Kotlin/JVM-based application, see openrndr-template.

Developing

To get started developing, run

./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

./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.