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
2 answers

Sending OSC message bundles from C# and receiving in Processing got weird address pattern and errors

I am relatively new to programming, so please excuse me if the question is stupid. I am now working on a project which involves Kinect. I am using C# to extract the live joint information (such as position and orientation) and then sending the data…
Peine
  • 101
  • 4
  • 12
2
votes
1 answer

Error from inside the Android tools, check the console - in processing 2.0 , Android Mode

The problem summary: I cannot run the programs on android device, nor in emulator. I installed Android SDK 2.33 (API10) and all the components, also 4.1 and higher. I installed new USB drivers for HTC EVO V 4G (Virgin Mobile) and still nothing. I…
Tesla
  • 111
  • 1
  • 9
2
votes
1 answer

Processing sketch won't run in browser

I am trying to run a Processing sketch in JavaScript mode. It does open the browser the display the brown-ish screen however it does not do anything apart from that. It does not load my sketch in it. I did try changing the firewall settings to…
An SO User
  • 24,612
  • 35
  • 133
  • 221
2
votes
2 answers

Finding a Tangent Line at a Point on a Randomized Slope

I have a piece of processing code that I was given, which appears to be setting up a randomized Fourier series. Unfortunately, despite my efforts to improve my mathematical skills, I have no idea what it is doing and the articles I have found are…
BrotherJack
  • 319
  • 1
  • 19
2
votes
1 answer

How to read oni file in Processing 2?

I have a Kinect program in Processing 2 that I would like to test or simulate by passing it saved skeletons from an .oni file rather than taking input from the Kinect. Is it possible to do this, i.e. to get Processing 2 instead of using the Kinect…
priya
  • 21
  • 2
2
votes
2 answers

processing hide console warning

Using http://processing.org/ I'm getting different errors in console on running application like this Element '#text' not know. Ignoring it. Element '#text' not know. Ignoring it. Attribute 'stroke-miterlimit' not known. Ignoring it. Attribute…
Crystal
  • 345
  • 2
  • 12
2
votes
2 answers

Creating a second applet(window) in processing

Hello guys i am trying to do a code where i can create a second applet in processing by passing on a sensible area. the code works fine except for 1 thing. when it passes over the sensible area it creates in a loop the same frame. here is the…
user2321978
  • 49
  • 1
  • 3
2
votes
2 answers

PShape 2.08 throws NullPointerException with createShape

I am using Processing 2.08 on mac. I am trying to create a PShape using the createShape function as given in the documentation. PShape s; void setup(){ size(500,500); s = createShape(); s.beginShape(QUADS); s.fill(0); s.vertex(100,100); …
Vijay
  • 3,420
  • 4
  • 20
  • 21
2
votes
1 answer

Processing: Would it be possible to use Processing language and render graphics in another GUI toolkits such as wxWidgets or Qt?

I'd like to use Processing as graphics engine but make it work inside a wxWidgets or Qt GUI application. Is this possible and are there any references?
kakyo
  • 10,460
  • 14
  • 76
  • 140
2
votes
1 answer

Make text appear and disappear in processing

So, I was wondering if there was a way to have text appear and then disappear as its being replaced by a different text. I currently found a code that will let me have text appear slowly one by one but I don't know the code that will let me get rid…
user2337815
  • 59
  • 3
  • 7
2
votes
1 answer

Processing RGB Wheel to control Arduino RGB LED

I would like to make a RGB wheel in processing as a GUI to control the LED color of a RGB Led connected to an Arduino Board. I have done this code in Processing so far. float startFill; float startAngle; int step; float stepLength; float…
Iker
  • 2,018
  • 2
  • 29
  • 52
2
votes
1 answer

How to add audio only when mousepressed in processing?

I was wondering if there was a processing code that will let me use sound only when i press the mouse and stops when I release it. I already have the audio that I want to use loaded onto processing but I'm having difficulty finding the code. Please…
user2337815
  • 59
  • 3
  • 7
2
votes
2 answers

How could I choose one particular file to load with loadStrings

The title is explicit enough, I want to let the user choose the text file he want to open. I do not know if there is an explorer or an input field already implemented on processing. Any help would be great.
Melki
  • 579
  • 2
  • 5
  • 26
2
votes
3 answers

How to animate a 3D curve between two points on a map?

I am trying to do a twitter visualization. I using curves to connect two points on the map. Here is the code which I am using for it. It has been taken from an example by Chrisir from the processing forums. void setup() { size( 800, 800, P3D…
user2228512
  • 37
  • 1
  • 1
  • 8
2
votes
2 answers

How do I download 100 images using Google Custom Search API for use with Processing?

A friend and I are trying to create a Photomosaic generator in Processing. We want to be able to pull 100 images from Google using the Custom Search API, restricting the image size and dominant color, along with few other things. We want to save…
Saliceran
  • 330
  • 1
  • 7
  • 26