Coder Social home page Coder Social logo

openrndr-gradle-template's Introduction

OPENRNDR Gradle template

A bare-bones template for writing OPENRNDR programs. Contains Gradle project files and a minimal program example.

It demonstrates the OO and FP coding styles - choose one of the two source files depending on your approach.

Intellij IDE

  • Click the run widget next to main() in the left margin/gutter of the source file.

Gradle tasks

  • run runs the template program (with the correct JVM arguments)
  • jar creates an überjar that contains the program and all its dependencies

Executable Jar

The jar file contains both the OO and FP template examples. However, typically you would only have either one of these in your project and jar file.

Command line instructions line for this example:

  • For TemplateProgram.kt
java -jar myjar.jar
 
 OR
 
java -cp myjar.jar TemplateProgramKt
  • For TemplateProgramFP.kt
java -cp myjar.jar TemplateProgramFPKt

On MacOS

add -XstartOnFirstThread to JVM arguments (at Run/Edit Configurations/VM Options if you're using IntelliJ Idea)

openrndr-gradle-template's People

Contributors

codecox avatar edwinrndr avatar gordonbrander avatar krksgbr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.