We are about to switch to a new forum software. Until then we have removed the registration on this forum.
For my coding class I have to make a 3D Toblerone bar that rotates in processing for an assignment. I am able to make the triangle shape and make it rotate but I cannot for the life of me figure out how to make the ridges! Here is what I have to make the shape now so if anyone can help me it would be so greatly appreciated!
pushMatrix(); translate( width * 0.5, height * 0.5 ); rotateY(radians(frameCount)); fill( 139,69,19 ); cylinder(3,200,50); popMatrix();