We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to make something in Python mode, but I need toxiclibs. I try using Vec3D, but when I try to read the Vec3D coordinate values it tells me they aren't of the float type and that " argument can't be coerced to float".
I use Python type function to check the datatypes of the Vec3D object and its 'x' attribute and I get:
<type 'toxi.geom.Vec3D'> <type 'instancemethod'>
And here is the code I mention:
add_library('toxiclibscore') vector = 1 def setup(): size(200,600) vector = Vec3D(width/2,height/2,0) def draw(): print(type(vector.x)) ellipse(vector.x ,vector.y, 3, 3)