Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.34 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.34 KB

Build Status Download

OPENRNDR

A Kotlin/JVM library for creative coding, real-time and interactive graphics. Can currently be used on Windows, macOS and Linux/x64 to create stand alone graphical applications.

Usage

A very basic OPENRNDR application looks like this:

import org.openrndr.Application
import org.openrndr.Configuration
import org.openrndr.Program
import org.openrndr.draw.loadImage

/**
 * This is a basic example that shows how to load and draw images
 */
class Image001 : Program() {
    override fun setup() {
        val image = loadImage("file:data/images/test_pattern.png")
        extend {
            drawer.image(image)
        }
    }
}

fun main() = Application.run(Image001(), Configuration())

Please have a look at our application template and our tutorial repository for more usage examples.

Basics and use are further explained in the OPENRNDR guide and more project information can be found on our website