Skip to content

LemuelCushing/processing-intellij-multisketch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A multi-sketch Processing 3 template for IntelliJ IDEA.

Looking to get up and running with Processing on the IntelliJ IDE? You're probably better of starting with mkj-is/processing-intellij.

Tired of cloning and moving between projects? Try this template on for size.

image

Setting up:

  1. Clone this repo
  2. Open the project in IntelliJ IDEA (File > Open.. > Navigate to processing-intellij)
  3. Open Debug Config (see screenshot below)
  4. Add the same configuration you see on the screenshot (see screenshot)
  5. Build & run (shift+f10 on windoes)

image image

Add Templates

File > Import Settings... > navigate to processing-intellij folder and select templates.jar

Adding sketches

  1. create a new package under src

image

  1. Create a new class from theSketchBase template

image

  1. In BaseMain, add the path to your new sketch's base class to the ```sketches`` String array (the format is pacakgeName.ClassName)

  2. To add classes to a sketch, create a class from SketchObject in the same package as the sketch base class. Make sure to always pass the PApplet object (this) into the constructor, so that PApplet's methods (fill(), colorModer(), random() and so on) will be available inside the object, from the local PApplet object (In the example.Example sketch, I've used p as the PApplet inside the Walker object)

About

This project contains the Processing core libraries and is therefore distibuted under GPL licence.

Based on mkj-is/processing-intellij

About

Multi-Sketch template for Processing 3 in IntelliJ IDEA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%