i want to be able to produce a record groove in a straight line instead of a spiral, with the idea being that i can use a 3d modelling tool to bend it in to any shape i want.
however im new to processing and can not work out what makes it spiral :-(
this is the code ( i have altered it so it just makes a groove and not a whole record)
import processing.opengl.*;
import unlekker.util.*;
import unlekker.modelbuilder.*;
import ec.util.*;
String filename = "sample.txt";
UVertexList recordPerimeterUpper,recordPerimeterLower,recordHoleUpper,recordHoleLower;//storage for perimeter and center hole of record
UVertexList lastEdge;//storage for conecting one groove to the next
while (rateDivisor*samplenum<(audioData.length-rateDivisor*thetaIter+1)){//while we still have audio to write and we have not reached the innermost groove //radius>innerRad &&
//clear lists
grooveOuterUpper.reset();
grooveOuterLower.reset();
grooveInnerUpper.reset();
grooveInnerLower.reset();
for(theta=0;theta<TWO_PI;theta+=incrNum){//for theta between 0 and 2pi
geo.quadStrip(lastEdge,recordHoleUpper);//close remaining space between last groove and center hole
}
if anyone could tell me how to alter it to make it produce straight grooves or where about it makes the groove spiral it would be greatly appreciated :-)