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
1
vote
1 answer

Skype API with Processing or Arduino

I want to write a Processing sketch to listen in on a local Skype call happening in the Skype desktop client. Skype offers a Desktop API as well as an SDK, but I don't know how to integrate these with Processing. I need to stick with Processing,…
bbusche
  • 21
  • 5
1
vote
1 answer

Can one use OpenCV with Processing and Openframeworks?

I'm working with C++ (Code::Blocks + OpenframeWorks) and Processing on different projects and have only found the Processing libraries that use the VC++ pre-compiled OpenCV bundle... As I need to use OpenCV with Code::Blocks rather than Visual…
Tamler
  • 130
  • 1
  • 8
1
vote
1 answer

How to efficiently store past depth pixel data from depthMapRealWorld() method?

I can't get around a peculiar problem with SimpleOpenNI for Processing ao I'm asking for your help. I'd like to store snapshots of pixel depth data (returned by .depthMapRealWorld() method as PVector arrays) on discrete time intervals, then process…
Solipsy
  • 312
  • 2
  • 11
1
vote
3 answers

Compile error with Arduino ADK + Android + Processing Example

I am trying to run the Arduino ADK + Android examples (analogRead, digitalWrite, etc.) But I am getting the following compile error: -compile: [javac] Compiling 3 source files to …
Glorithm
  • 361
  • 5
  • 18
1
vote
2 answers

Linux kernel 3.3 apps on Android

There was a recent article that Linux kernel 3.3 has integrated Android as one of the features. It has also created the possibility of launching Linux applications on Android systems provided the correct drivers are used. I am currently learning…
Sai
  • 377
  • 1
  • 5
  • 19
1
vote
1 answer

Creating interactive map with processing

We are trying to find a way to create interactive maps with Processing, in which we can: Hover over countries with mouse and have the whole country be highlighted. Have the user click on the country and provide additional information on that…
user1279772
  • 19
  • 1
  • 2
1
vote
0 answers

Pixel reordering is wrong when trying to process and display image copy with lower res

I'm currently making an application using processing intended to take an image and apply 8bit style processing to it: that is to make it look pixelated. To do this it has a method that take a style and window size as parameters (style is the shape…
schanq
  • 864
  • 1
  • 15
  • 25
1
vote
1 answer

Performance and development possibilities for Data Visualization

I'm currently working on some data visualization project and wanted to know what would be my best development environment for it considering performance, deployment on mobile devices and different operating systems. Simpler said something that…
Inoperable
  • 1,429
  • 5
  • 17
  • 33
1
vote
1 answer

Print Canvas from Processing

I am trying to make something along the lines of this: http://instaprint.me/, however I don't have a dedicated Linux machine, ink-less paper and WiFi. I do, on the other hand, have a desktop connected to the internet and a color photo-printer. So…
Alfo
  • 4,801
  • 9
  • 38
  • 51
1
vote
1 answer

Performance of GLSL geometry shaders unexpectedly slow

I'm trying to learn how to program GLSL Geometry shaders. My test project works like this: I have N VBO's which are modeling "blades of grass". Without the shader, each blade of grass is just basically a line strip with 20 segments. I was able to…
eeeeaaii
  • 3,372
  • 5
  • 30
  • 36
1
vote
1 answer

What do I add to this code to make the audio play out of my PC speakers via Arduino?

I am running this code on an Arduino. Using the Arduino, is there a way to pass the audio to my PC speakers? //This imports the audio class #include //This is the sound being played const unsigned char sound1[] PROGMEM = {129, 127, 126,…
user1048682
  • 119
  • 4
  • 11
1
vote
1 answer

Packing/unpacking multiple ints from Processing to Arduino via Serial library

I'm successfully sent single int values from Processing to Arduino, but now I need to sent a pair of ints (both having values between 0 and 90) together and I'm not sure how to do that. Reading the docs, I see I can send byte/byte[]/int/char/String…
George Profenza
  • 50,687
  • 19
  • 144
  • 218
1
vote
1 answer

In processing, how can one translate to a final coordinate in world space?

One can translate by x and y distances in processing relative to the frame of reference with the translate() function. Is there a function that one can use to translate to an absolute coordinate in world space? For instance, can one translate to the…
dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206
1
vote
2 answers

processing: button press switch state

So I have a ON-OFF button that draws a circle. The trouble I am encountering is that the ON OFF states are random depending on how long I press the button. I guess this is due to the draw() function which also loops my button function in time with…
allgored
  • 23
  • 2
  • 6
1
vote
1 answer

How do I check if the mouse is over a certain circle without overlap?

In my processing program, I have made several circles positioned randomly. I used the distance formula to calculate if the mouse is over a certain area. However, this algorithm fails when circles overlap because it thinks the mouse is over both…
dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206