How do I flip this shape across the y-axis using processing?
Dear student,
By just changing the i to -i in map function the processing application draws the shape in opposite direction so the output gets flipped
float angle=map(-i,0,numRows,0,TWO_PI);
As i dont have your complete code i cannot show you output.
If you have any doubt please comment below for clarification
How do I flip this shape across the y-axis using processing? h_190527e | Processing 3.5.3 t Sketch Debug Too...
Hi, how do you add color to a heat map using "lerpcolor" (application: processing)? float boxkPosition- (¡%7) * boxHidth; // Calculate the Y position of the box. float boxYPosition- (i/7) boxHeight; 43 45 46 47 48 49 // Use println to show what the values are for the position. printin ("i : ", i, "X:", boxXPosition, "Y:"' , boxYPosition); 1: .11 // Put your colour code here. float mapvalue = ma p (value, minValue, maxValue, θ, 1); 51 52 53...