Processing for iOS is an iOS editor of the popular programming language processing.org.
size(300, 260);
background(255); // whiteint x =Math.floor( Math.random() *300 );
int y =Math.floor( Math.random() *260 );
int colour;
for (int i=0; i<30000; i++)
{
int vertex =Math.floor(Math.random() *3);
switch (vertex)
{
case0:
x = x /2;
y = y /2;
colour = #00ff00; // greenbreak;
case1:
x =150+ ( 150- x )/2;
y =260- ( 260- y )/2;
colour = #ff0000; // redbreak;
case2:
x =300- ( 300- x )/2;
y = y /2;
colour = #0000ff; // blue
}
set(x, y, colour);
}- accelerometer and gyroscope access
- compass
- barometer
- camera
Get involved and help improving processing for iOS. The project is available on GitHub.
You created an awesome piece of software in Processing for iOS? You are using Processing for iOS to teach students programming? I would love to hear about that: frederik@processing-app.org