Reply To: Create curves from Processing to Iannix

Home Forums Making things with IanniX Create curves from Processing to Iannix Reply To: Create curves from Processing to Iannix

#3664
Angel Sanchez Borges
Guest

It´s working ! Here´s my code with a moving point:

———–

a = a + 1;

float move1 = map(sin(a), -1, 1,-10,20);
float move2 = map(cos(a), -1, 1,-3,13);

iannix.send(“setpointat”, 0, 2, move1, move2 );

if(keyPressed){
if(key == ‘q’){

OscMessage iannixMessage = new OscMessage(“/iannix/add”);
iannixMessage.add(“curve”);
iannixMessage.add(0);

oscManager.send(iannixMessage, iannixLocation);

}
}

————–

Now the question is: how can I choose to add a straight or a smooth curve ?

: )

Thanks !


© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About