Questions tagged [processing]

Processing is an open source programming language and environment for people who want to create images, animations, interactions, and games.

The processing tag is misleading and leads to misunderstandings and even closure votes, because of the seemingly missing language tag. It is strongly recommended to tag questions additionally with a language tag.

But note Processing is not the same as Java.

Processing refers to the language built on top of Java and the minimal IDE it ships with. It is free and open-source, runs on Linux, Mac OS X, and Windows, and can output for screens, print, 3D packages and CNC printing.

The language simplifies a lot of complex concepts and eases the entry of designers, artists and non-programmers to the world of programming.

Over the years it was used to produce a number of astonishing projects ranging from data visualization, to physical computing , games, 3D, sound, live performance, and more.

Due to its vibrant community, Processing not only enjoys a contribution of over 100 libraries, but it is also present on major mobile platforms, such as Android and iOS.

There are online communities for sharing Processing content, like OpenProcessing.

Some websites even allow users to learn and use Processing directly in the browser, like the Flash-driven SketchPatch and the JavaScript-driven Sketchpad and p5.js (pure JavaScript).

There are also Processing ports to the following languages:

Advanced users are not constrained to the Processing IDE; sketches can be run from the command line, and projects can be set up to build and run directly from editors:

6836 questions
2
votes
1 answer

Why can't Processing 2.0b8 find a class or type named "Set"?

I'm trying to walk through a Processing tutorial and hitting a wall. I can't even run the sample starter code --I get an error: Cannot find a class or type named "Set" and this line comes back highlighted: Set tags =…
Amanda
  • 12,099
  • 17
  • 63
  • 91
2
votes
0 answers

IllegalArgumentException: No enum const class Functions.size

Given the following code: enum Functions { background,clear,colorMode,fill,noFill,noStroke,stroke,applyMatrix,popMatrix, printMatrix,pushMatrix,resetMatrix,rotate,rotateX,rotateY,rotateZ,scale,shearX,shearY, …
kyuen
  • 23
  • 1
  • 4
2
votes
1 answer

How to plot a waveform using PortAudio in Java (jpab with Processing)?

I need to access multiple audio inputs in Java so first consulted SO and found this answer and deviced to use PortAudio Java bindings (jpab). Unfortunately I found little and outdated documentation. With what I've found I tried this using Processing…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
2
votes
0 answers

No scroll bar with Textarea in processing and controlp5

In the docs for controlp5 it says that a scrollbar will automatically appear when the text exceeds the size of the box, this has not occurred for me, i have also tried .setScrollActive() but still no scroll bar, my code is below, thanks in…
John Smith
  • 276
  • 1
  • 2
  • 15
2
votes
1 answer

dragging objects in processing

I am having an issue implementing Daniel Shiffman's awesome dragging example into my sketch. I have used it before and it is great, however I am attempting to use it with some "fancy" for looping to apply it to multiple objects(in this case text)…
Brannon
  • 1,286
  • 2
  • 21
  • 36
2
votes
1 answer

Processing 3d object .obj import

I'm trying to import 3d objects in Processing from .obj files found on the web. I've seen that there are several ways to import objs into the scene. I'm using PShape in this example and an obj file found here. I've started from the…
UserK
  • 884
  • 3
  • 17
  • 40
2
votes
2 answers

Why is my Processing app not behaving?

I am learning to use Processing, and have modified one of the examples to create this applet. I have two questions: Why are the spheres oblate? The spheres in the example I cribbed from were nice and round. Why do I get the light showing on the…
PaulMcG
  • 62,419
  • 16
  • 94
  • 130
2
votes
1 answer

Communication Between Arduino and Processing via Serial is Corrupted

I have the following sketch uploaded to my Arduino Uno Rev3: void setup() { Serial.begin(9600); } void loop() { Serial.println("Hello, World!"); delay(10); } When I run it, Hello, World! is continually printed to the Serial Monitor as…
Craig
  • 691
  • 4
  • 20
2
votes
1 answer

Processing Error: badly formed character constant (expecting quote, got h)

I'm making a virtual pet game. At this stage I have loading a save file working, but the program is not running when I start to include core functionality. I found this: Badly formed character (expecting quote, got I) ~ Processing Which leads me to…
glocka
  • 23
  • 1
  • 5
2
votes
1 answer

About Processing

I was wondering about OSC could you tell me more about it.
user2085141
2
votes
1 answer

Processing to Arduino "IllegalAccessError"

I hope this exact issue was not addressed already. I did search for a while. So I'm using the Arduino library for Processing, testing it by simply having it blink an LED that I have connected to my Arduino UNO. I'm following this tutorial, but am…
A__
  • 1,616
  • 2
  • 19
  • 33
2
votes
0 answers

Processing cannot create AVD

I am trying to run a Processing sketch on Android emulator. I get the following error- debug: Unhappy inside exists() D:\android-sdks\tools\android.bat list avds status: 1 375ms stdout: stderr: D:\android-sdks\tools\android.bat create avd -n…
Alap
  • 51
  • 4
2
votes
7 answers

Java math expression parser that can take complex numbers as a variable?

I am writing a program in Processing that transforms complex numbers. However, I want to have a method of taking an input string and calculating the transformation using a complex variable. For example: 1/(z+1) (z^2)/(z/2) where z is a complex…
Callum Rogers
  • 15,630
  • 17
  • 67
  • 90
2
votes
1 answer

Using Scala libraries in Processing

I'm not much of a java programmer. I really like Scala a lot more than java. If I could I'd could I'd rather make processing libraries in Scala to use in Processing. I've been able to initiate new objects from my library in Processing, but I can't…
G1i1ch
  • 251
  • 3
  • 9
2
votes
3 answers

processing 2 - cannot find class or type named vector

I'm trying to run an old processing sketch along with my kinect that saves kinect point cloud data as OBJ files, but I'm getting an error on this line: Vector recording = new Vector(); stating cannot find a class or type named "Vector" - I am…
mheavers
  • 29,530
  • 58
  • 194
  • 315