How to change the sphere in:
void draw() {
for (Skeleton s: skels.values()) {
fill(s.colors[0], s.colors[1], s.colors[2]);
for (float[] j: s.allCoords) {
pushMatrix();
translate(j[0]*width, j[1]*height, -j[2]*300);
sphere(2 * ballSize/j[2]);
popMatrix();
}
}
}
to associated image in Skeleton parts?
the handCoords in class Skeleton has a x, y, z floats. How to integrate an image item to show in draw().
any suggestions?
best from brazil
rbrz