Friday, January 31, 2025

Short Squat Quads

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

The page procedurally makes strange quads. most of which are 'real' quads, but some degenerate into triangles or quads with top or bottom edges which are twice as wide. The quads naturally can be subdivided into triangle pairs and the double wide edged quads subdivide in to three triangles. It's a simple matter of doing the work to set up these subdivisions and make the triangles, which subdivide into three corner quads which group around my points to make funny little polygons...

This morning's prompt is 'scroll'.


Dr. Hopkins cff the callous and pronounced my foot good enough. We've managed to avoid an infection, so far and surgery is coming up...

I could go with even shorter rows, an initial row at 500, a initial row about 3100 km wide, make the thing a thousand deep and half a million square kilometers in area.

Thursday, January 30, 2025

This morning's prompt is 'lima bean', so called because the Spanish used to ship boxes of them all over marked 'Lima, Peru'.


Stuff 

Wednesday, January 29, 2025

Gonna walk some Quads

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

Sinusoid shape and grid cell size based on the resolution, which is a rez of >=10 px, based on the number of rows from pole to pole. We split the difference and put the remainder at the poles. Each cell is a quad with four corners, unless, at the poles the top or bottom edge collapses to zero. But the corners from adjacent rows show up in the top or bottom edges so the quads are up to six sided...
I have made an array of quads and redrew the 100th cell in brown.

This morning's prompt is 'pea pod'.


(I don't know why I'm captioning the sketch, now... 8-P)

So I'm thinking about my clunky million square kilometer blobs for no good reason and the edges of the quads are really curves so my approximation just got even more complicated; adjacent rows of 13 and 18 blobs have 13*18  or 234 segments, each preceding area having 18 segments on the bottom, each, and each next row area having 13 segments on top. Each area is actually a polygon which we can imagine subdividing into a triangle fan around the center, doing a drunkards walk to find land or sea areas, then randomize the border vertices based on the centers' height above or below sea level.

We can cut down on edge segments by only considering any shared quad corners in the top and bottom edges; we may consider many possible points but only keep track of corners.

Tuesday, January 28, 2025

Galaxy

28 January 2025- Starmap

Picking points within the canvas to generate xy and z coordinates.
The white thing would be a galaxy. Each white bit is a rectangle one pixel wide and tall. I need to draw some arms...

Oops!

This morning's prompt is 'baby calf'.


Mission accomplished!
Making another run at my starmapper.

Monday, January 27, 2025

Point

28 January 2025- Starmap

Picking points within the canvas to generate xy and z coordinates.
I should be drilling down from 73 billion light years across...
I should randomly place Sol, the Milky Way and the local group! 8-P

Oops!

This morning's prompt is 'pork chop'.


(with crossed fork and knife, let's eat! 8-P)

const canvas = document.getElementById('myCanvas');const ctx = canvas.getContext('2d');canvas.addEventListener('click', function(event) { const rect = canvas.getBoundingClientRect(); const x = event.clientX - rect.left; const y = event.clientY - rect.top; // Do something with the click coordinates console.log('Click at:', x, y); // Example: Draw a circle at the click position ctx.beginPath(); ctx.arc(x, y, 10, 0, 2 * Math.PI); ctx.stroke();});

Sunday, January 26, 2025

Subdividing, again

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

The page procedurally makes strange quads. most of which are 'real' quads, but some degenerate into triangles or quads with top or bottom edges which are twice as wide. The quads naturally can be subdivided into triangle pairs and the double wide edged quads subdivide in to three triangles. It's a simple matter of doing the work to set up these subdivisions and make the triangles, which subdivide into three corner quads which group around my points to make funny little polygons...

Back to Icosahedrans

1 November 2024- Rows
Oops!

I made an icosahedral grid. Now find all the vertices in the triangles, build six quads around them and draw them if they are inside the icosahedron!

This morning's prompt was 'pig'.


(I drew a rather cute lil porker, if I say so myself!)

Saturday, January 25, 2025

Friday, January 24, 2025

Short Triangles

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

The page procedurally makes strange quads. most of which are 'real' quads, but some degenerate into triangles or quads with top or bottom edges which are twice as wide. The quads naturally can be subdivided into triangle pairs and the double wide edged quads subdivide in to three triangles. It's a simple matter of doing the work to set up these subdivisions and make the triangles, which subdivide into three corner quads which group around my points to make funny little polygons...

This morning's prompt is 'sheep'.


Stuff 

Thursday, January 23, 2025

Rows of Blobs from Pole to Pole

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

Sinusoid shape and grid cell size based on the resolution, which is a rez of >=10 px, based on the number of rows from pole to pole. We split the difference and put the remainder at the poles. Each cell is a quad with four corners, unless, at the poles the top or bottom edge collapses to zero. But the corners from adjacent rows show up in the top or bottom edges so the quads are up to six sided...

This morning's prompt is 'airplane'.


(flying into the sunset)

Wednesday, January 22, 2025

Individual triangles

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

The page procedurally makes strange quads. most of which are 'real' quads, but some degenerate into triangles or quads with top or bottom edges which are twice as wide. The quads naturally can be subdivided into triangle pairs and the double wide edged quads subdivide in to three triangles. It's a simple matter of doing the work to set up these subdivisions and make the triangles, which subdivide into three corner quads which group around my points to make funny little polygons...