Skip to content

suyashcjoshi/Processing-In-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processing-In-Java

Running a processing sketch using Java SE as Maven QuickStart project. Maven downloads, builds and executes the the project and runs the processing sketch using processing version 4.x core.jar library.

Pre-Requisites

  1. JDK version 11+ (recommened JDK 17)
  2. Maven build tool
  3. Processing core.jar downloaded with help of maven when you run the following commands

Steps to run this project

git clone <this repository>
cd <repository>
mvn clean package
mvn exec:java

Understanding & Update App.Java class

The processing sketch lives inside of App.java class that you can modify just like a normal processing sketch. The only thing to keep in mind is the main method that has the line PApplet.main("dev.suyashjoshi.creativecode.App"); which points to the fully qualified class name of the project so make sure to update that if you change it for your own project.

Feel free to make change to the processing helper methods and after saving run mvn clean package exec:java to see the changes in effect.

Processing Sketch Screenshot

Share & Star

If you found this project helpful, please consider giving it a star and feel free to follow me for more such tutorials.

About

Running a processing sketch using Java SE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages