Saturday, February 15, 2025

Pick Random Quad

7 December 2024- Square to sinusoidal grid of points
Oops!

Column: 0, Row: 11, Area: 1.86 m.km^2, Total Land Area: 1.86

Now that I can find the column and row, I can pick a point randomly or by clicking inside the sinusoid. I can walk to a random adjacent tile and make it land or sea, blue or green, or use position to generate a seed for a not so random number and average them with adjacent heights and subdivide quads into triangle fans with vertices above or below sea level.

Row: 11, Column: 0

PR# in Local Storage: 0.717797887081348
Total Surface Area: 626.26 m.km^2

Screenwidth: 443.5595774162696px, rez: 20 or row height of 20 px wide
Circumference: 4435.5 km, Row Height: 2000 km. There are 22 columns, 2016.1 km wide, Surface Area: 626.26 m.km^2, 74 quads of 8.46 m.km^2 each, Hydrographic Ratio: 96.95% with 19.08 m.km^2 land.

Row: 0, 0, 0.54, height: 0.54, top circ: 0, bottom circ: 3.3, row area: 1.78, columns: 1, each area: 1.78
1 top pt and 2 bottom pts
Row: 1, 0.54, 1.54, height: 1, top circ: 3.3, bottom circ: 9.3, row area: 12.6, columns: 3, each area: 4.2
4 top pts and 4 bottom pts
Row: 2, 1.54, 2.54, height: 1, top circ: 9.3, bottom circ: 14.6, row area: 23.9, columns: 5, each area: 4.77
6 top pts and 6 bottom pts
Row: 3, 2.54, 3.54, height: 1, top circ: 14.6, bottom circ: 18.6, row area: 33.2, columns: 8, each area: 4.15
9 top pts and 9 bottom pts
Row: 4, 3.54, 4.54, height: 1, top circ: 18.6, bottom circ: 21.2, row area: 39.79, columns: 9, each area: 4.42
10 top pts and 10 bottom pts
Row: 5, 4.54, 5.54, height: 1, top circ: 21.2, bottom circ: 22.1, row area: 43.3, columns: 10, each area: 4.33
11 top pts and 11 bottom pts
Row: 6, 5.54, 6.54, height: 1, top circ: 22.1, bottom circ: 21.3, row area: 43.4, columns: 10, each area: 4.34
11 top pts and 11 bottom pts
Row: 7, 6.54, 7.54, height: 1, top circ: 21.3, bottom circ: 18.7, row area: 40, columns: 10, each area: 4
11 top pts and 11 bottom pts
Row: 8, 7.54, 8.54, height: 0.99, top circ: 18.7, bottom circ: 14.6, row area: 33.29, columns: 8, each area: 4.16
9 top pts and 9 bottom pts
Row: 9, 8.54, 9.54, height: 1, top circ: 14.6, bottom circ: 9.4, row area: 24, columns: 6, each area: 4
7 top pts and 7 bottom pts
Row: 10, 9.54, 10.54, height: 1, top circ: 9.4, bottom circ: 3.4, row area: 12.8, columns: 3, each area: 4.26
4 top pts and 4 bottom pts
Row: 11, 10.54, 11.08898943540674, height: 0.54, top circ: 3.4, bottom circ: 0, row area: 1.86, columns: 1, each area: 1.86
2 top pts and 1 bottom pt
Number of quads:74

No comments:

Post a Comment