Is there a tutorial on Embedding processing code in JAVA in Eclipse?

I followed the build path tutorials. The

import processing.core.*

works fine but Java doesnot acknowledge color in hex form. Similar is the case with variables like height.

Also many many functions are throwing undefined error like pushMatrix(), popMatrix() , translate(), textSize(), map().

Are there any resources that will help me overcome this problem in general? Instead of specific problems there must be something that teaches the whole process. I tried finding but to no avail.

Did you look on the tutorial section of the website?

It was very easy, just had to export it into application.
One problem still persist though, it cannot locate the associated files like images and tsv data files. Any idea?

Sorry, there used to be a good tutorial

Not anymore

1 Like

Hello,

There is no longer a tutorial on the Processing site even though FAQ refers to it:

This may be of interest:

:)

1 Like

I can’t thank you guys enough.

I’ve ran into what seems a final hurdle

java.lang.RuntimeException: The P3D renderer is not in the class path.
at processing.core.PApplet.makeGraphics(PApplet.java:2311)
at processing.core.PApplet.createPrimaryGraphics(PApplet.java:2345)
at processing.core.PApplet.initSurface(PApplet.java:10983)
at processing.core.PApplet.runSketch(PApplet.java:10922)
at processing.core.PApplet.main(PApplet.java:10620)
at Two_Maps_Texture.main(Two_Maps_Texture.java:355)

I’ve imported all the jar files like the resources tell me to but still I get the error.