My quest is to essentially create different-sized rings, centered around the same point, that are made of 1-unit pieces.
My problems are that I have difficulty understanding the math required to create such. I know how to create rings that are made of differing SIZED pieces, like 360 degrees = 360 pieces per ring, but the pieces get progressively larger as you go away from the origin point. I don't want that - I want the pieces to stay the same size, instead creating more as you go outward.
I was hoping someone would help me figure out how to fix up my code in order to do this.
1 2 3 4 5 6 7 8 9 10 11
| float radians = (float) Math.toRadians(degrees); float[] data = new float[] {}; float circ = MathUtil.getCircumference(depth); float circt = MathUtil.fastfloor(circ); for (int c = 0; c < circt; c++) { float rads = (float) c / circt; } |
That was as far as I had gotten before this made itself clear to my mind.