Répondre à : Create curves from Processing to Iannix

Accueil Forums Créer avec IanniX Create curves from Processing to Iannix Répondre à : Create curves from Processing to Iannix

#3664
Angel Sanchez Borges
Invité

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

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos