Skip to content

Repository files navigation

processing-ui

A wrapper for Processing's PApplet to aid development with easy to use Views and UI elements.

Build StatusMaven CentralDependenciesDependency StatusGitHub release

It's very simple to use:

Kotlin:

Just extend PWindow and override settings():

class KotlinSample : PWindow() {
override fun settings() {
size(600, 400)
}
}

Then create your main() method to launch your sketch:

fun main(args: Array<String>) {
PApplet.main(KotlinSample().javaClass)
}

Java:

Do it just like with Kotlin:

Extend PWindow and override settings():

public class JavaSample extends PWindow {
@Override
public void settings() {
size(600, 400);
}

Create you main() method and you are ready to launch your sketch:

 public static void main(String[] args) {
main(JavaSample.class);
}
}

About

A wrapper for Processing's PApplet to aid development with easy to use Views and UI elements.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages