OpenGL and Projecting from Processing

Hey folks. I've got a sketch using OpenGL (also tried P3D) and the other day I wanted to put it out through my projector, as one sometimes does. Unfortunately when I plugged the thing in, my sketch was not projecting. The screen went grey while it ran my setup code and then black when background(0); was called, but then nothing. I could see the animation running on my computer screen but the projection just showed the black background and my mouse moving around. I thought it rather strange I could see the mouse but nothing else. Another thing I noticed shortly afterward is that I couldn't take screenshots of my sketch. When I tried I would just got all black screenshots.

Anyone know what I'm doing wrong? I can get my JAVA2D and P2D sketches to project and I'm able to take screenshots of those, but once I switch to 3D everything stops working. Sincerely, Absolute 3D Noob.

submitted by BruceBeardsley
[link] [comment]

Mutant Space, Spokane

Installation views of Mutant Space, Spokane.

A generative multimedia installation driven by a piece of Uranium - 235 ore.
March 6th - April 3rd 2015, from dusk till dawn.

Spokane at Laboratory! Interactive, Digital, Performance art at 301 W. Main Street, Spokane Washington by Atif Akin, March 2015.

In the memory of James Leroy Acord (1944-2011) An artist who worked directly with radioactive
materials dedicated to the idea of transmutation and demystifying technology.

Thanks to Alan Chatham of Laboratory! for his personal and institutional support.

Cast: Atif Akin

Tags: radioactivity, nuclear mobility, geiger counter, arduino, processing, spokane, laboratory spokane and washington state

Construcciones Efimeras

Construcciones Efímeras es una obra en la que se invita al público a descubrir un mundo fantástico, de papel, en el que las cosas se encuentran de cabeza, con un mar capaz de albergar construcciones. Se puede interactuar construyendo ciudades flotantes pero a riesgo de convocar tormentas si se actúa con un ritmo acelerado. Los edificios flotan a la deriva, siempre amenazados por el clima. En esta obra todo es efímero, endeble, inestable, a punto de naufragar.

La obra recuerda las acciones del público y las reproduce cuando nadie interactúa, como ecos de las acciones anteriores, en un juego entre el pasado y la memoria que nos muestra que sólo es posible recordar lo que ya no está. La obra nos habla de la finitud, del límite, de la impotencia y de lo que construimos para trascender pero que inexorablemente el tiempo se llevará.

Cast: Biopus

Tags: biopus, mapping, augmented reallity, tracking, processing, kinect, openframeworks and AR

using millis to slow down a draw call in multiple steps?

as a part of my masters projects (fine arts/illustration) i'm programming images using processing. i've never done anything in processing before this, and my skills in programming are very limited. i'm able to create simple websites using html and css, but that's pretty much it.

below is a small smiley i did as a test, trying to understand how to do what i want to do. now i want it to only show one pixel once every second, making this small smiley take 49 seconds to be complete. after some googling i think this is possible using millis - can anyone guide me on how? or does anyone have better ideas? i got the impression that i shouldn't use delay, but i still have no idea how to do this (i realize this is probably super easy to do). all help would be appreciated :)

int i, l; i=l=0; size(7, 7); loadPixels(); for (char c : "1b5s1b1s5g2s1g1s1g1s1g2s5g2s1g3s1g2s5g1s1b5s1b".toCharArray ()) { while (l>0) { pixels[i]=#ffffff; if (c=='s')pixels[i]=#000000; if (c=='g')pixels[i]=#ffff00; i++; l--; } if (c<58) { l=c-48; } } updatePixels(); 
submitted by apesoenn
[link] [comment]

Why isn’t my code working?

String[] s= {""}; String buffer=""; String x=""; void setup() { size(400, 600); frameRate(10); } void draw() { s=loadStrings("notebook.txt"); background(0); textSize(20); stroke(255); line(0,400,600,400); stroke(0); text(buffer,0,400,width,height); text(s, 0, 0, width, height); } void keyPressed() { if (keyCode==117) { s[0]=""; } else if (keyCode==8 && s[0].length()>0) { buffer=buffer.substring(0, buffer.length()-1); } else if (keyCode==10) { s[0]+=" >"; s[0]+=buffer; buffer=""; saveStrings("notebook.txt", s); } else { buffer+=key; } } void text(String a[], int x, int y, int w, int l) { String b=""; for(int i=0; i<a.length; i++) { b+=a[i]; b+="n"; } text(b,x,y,w,l); } 

Its suppossed to make each new entry be on a seperate line.

submitted by VERNEJR333
[link] [comment]

b i t s & b e a t s

Pieza de teatro interactivo B i T S & B E A T S . VISCEPATIK 2 0 1 5.

una fusión entre el mundo analógico y el mundo digital,
un encuentro entre la mecánica y la realidad virtual
y
una escena mutante que reacciona según los actos
de dos autómatas en su taller

Manipulación de sensores en directo, piano acústico y cámaras en el escenario.
Acción.

Cast: viscepatik

Tags: viscepatik, sensores, teatro, interactivo, arduino, leonardo, pure, data, puredata and processing