openrndr-starter

OPENRNDR | Starter

https://github.com/blob-cc/openrndr-starter

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary

Keywords

blob creative-coding kotlin openrndr starter template
Last synced: 6 months ago · JSON representation ·

Repository

OPENRNDR | Starter

Basic Info
  • Host: GitHub
  • Owner: blob-cc
  • License: mit
  • Language: Kotlin
  • Default Branch: main
  • Homepage: https://www.blob.cc
  • Size: 246 KB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Topics
blob creative-coding kotlin openrndr starter template
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security

README copy.md

OPENRNDR template project

A feature rich template for creating OPENRNDR programs based on Gradle/Kts.

The template consists of a configuration for Gradle and two example OPENRNDR programs. 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 and a live-coding example in src/main/kotlin/TemplateLiveProgram.kt.

You will find some basic instructions in the OPENRNDR guide

Gradle tasks

  • ./gradlew run runs the TemplateProgram (Use gradlew.bat run under Windows)
  • ./gradlew shadowJar creates an executable platform specific jar file with all dependencies. Run the resulting program by typing java -jar build/libs/openrndr-template-1.0.0-all.jar in a terminal from the project root.
  • ./gradlew jpackageZip creates a zip with a stand-alone executable for the current platform (works with Java 14 only)

Cross builds

To create a runnable jar for a platform different from your current platform, use ./gradlew jar -PtargetPlatform=<platform>, where <platform> is either windows, macos, linux-x64, or linux-arm64.

Updating OPENRNDR, ORX and other dependencies

The openrndr-template depends on various packages including the core openrndr and the orx extensions. The version numbers of these dependencies are specified in your libs.versions.toml file. If you want to learn about file format visit the Gradle documentation website.

Newer versions of OPENRNDR and ORX bring useful features and bug fixes. The most recent versions are
openrndr version for OPENRNDR.
orx version for ORX.

Switch to the next-version branch or enter these version numbers in your toml file. They can look like "0.4.3" or "0.4.3-alpha4". Use the complete string, as in:

openrndr = "0.4.3-alpha4"
    orx = "0.4.3-alpha4"

You can add other dependencies needed by your project to your build.gradle.kts file, inside the dependencies { } block.

Remember to reload the Gradle configuration after changing any dependencies.

Run other Kotlin programs from the command line

By default ./gradlew run runs a program called TemplateProgram.kt but a different one can be provided as an argument:

To run src/main/kotlin/myProgram.kt

./gradlew run -Popenrndr.application=MyProgramKt

To run src/main/kotlin/foo/bar/myProgram.kt (assuming package foo.bar in myProgram.kt)

./gradlew run -Popenrndr.application=foo.bar.MyProgramKt

Github Actions

This repository contains a number of Github Actions under ./github/workflows.

build-on-commit.yaml runs a basic build on every commit, which can help detect issues in the source code.

publish-binaries.yaml publishes binaries for Linux, Mac and Windows any time a commit is tagged with a version number like v1.*.

For example, we can create and push a tag with these git commands:

git tag -a v1.0.0 -m "v1.0.0"
git push origin v1.0.0

The progress of the running actions can be followed under the Actions tab in GitHub. Once complete, the executables will be found under the Releases section.

Owner

  • Name: blob.cc
  • Login: blob-cc
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
title: OPENRNDR Template
version: 0.0.1
date-released: 2024-08-01
url: "https://github.com/scape-agency/cc-openrndr"
message: >-
  If you use this software, please cite it using
  the metadata from this file.
type: software
authors:
  - given-names: Lars Bastiaan
    family-names: van Vianen
    email: lars@scape.agency
    affiliation: Scape Agency
    orcid: "https://orcid.org/0000-0002-8790-8630"

GitHub Events

Total
  • Issue comment event: 2
  • Push event: 1
  • Pull request event: 2
  • Create event: 2
Last Year
  • Issue comment event: 2
  • Push event: 1
  • Pull request event: 2
  • Create event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 5
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 5
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 3
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (6)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/build-on-commit.yaml actions
  • actions/checkout v4 composite
  • actions/setup-java v4 composite
.github/workflows/publish-binaries.yaml actions
  • actions/checkout v4 composite
  • actions/setup-java v4 composite
  • ncipollo/release-action v1.14.0 composite
build.gradle.kts maven
.devcontainer/Dockerfile docker
  • node 22 build
.devcontainer/docker-compose.yml docker