Sunday, January 31, 2021

Spherified Mesh

31 Jan Square 2 Sphere

The page generates a square grid which we turn into an octasphere, now that I have 'spherified' the coordinates (BTW, I've swapped the x coordinate for the z coordinate here).

2D Triangle Heart Mesh!

31 Jan 2021- 3D Heart Shape

Friday, January 29, 2021

True Blue Heart

29 Jan 2021- 3D Heart Shape

Thursday, January 28, 2021

Heart Shape, Again...

28 Jan 2021- 3D Heart Shape

3D Heart Shape For St. Valentines Day!

Tuesday, January 26, 2021

Square to Octahedron

27 Jan Square 2 Sphere

The page generates a square grid which we turn into an octasphere.

Square grid to octahedron to spherical polyhedron

26 Jan Square 2 Sphere

The page generates a square grid which we will turn into an octasphere. The animation loops through the points to draw quads, then clears and starts over again. The next step is to subdivide each quad into a pair of triangles based on the 'New York Street Distance' of each vertex from the center of the grid. Each of the two triangles has either the nearest or farthest vertex for each of the quads.

Saturday, January 23, 2021

Cross And Dot Product

23 Jan Cross vs Dot Product

The page generates three points of a triangle or the endpoints of two vectors. Vector 1 is P0 to P1, Vector 2 is P0 to P2. You can then click in the blue box near the point you want to move (You need to move it in steps instead of grabbing and dragging it).

Thursday, January 21, 2021

Drawing App!

21 Jan 2021 Drawing App!

A simple drawing application with some code I copied from here (click to see)

Tuesday, January 19, 2021

Grounding the ship...

19 Jan 2021- Asteroid Colony!

The page draws a simple 2D asteroid to begin with and adds on. This is a pixel approach, where the page checks if the grid point is close enough to the center and draws a gray pixel for my asteroid if it is.
Place the ship and then click again to 'ground' it on the rock. We want to tunnel into the asteroid now that the ship is under some rubble for protection.

Sunday, January 17, 2021

Working on a less 'round' pixel Asteroid

17 Jan 2021- Asteroid Colony!

The page draws a simple 2D asteroid to begin with and adds on. This is a pixel approach, where the page checks if the grid point is close enough to the center and draws a gray pixel for my asteroid if it is.
The next step is to mine the asteroid, refining for metals and volatiles and placing the slag outside, around the habitat for armor and radiation shielding.
Actually, the first step is to show up with a ship full of belters, like a wagon full of dwarves in dwarf fortress. Pick a point outside of the asteroid for the ship, which is a pressure vessel for habitat, engines, propellant tanks and storage. We can 'ground' the ship on the ateroid by having it move towards the asteroid. If ship bits generate where there is already rock bits, replace the rock and place it around the border of the ship. The page accumulates the number of rock bits being moving and places them after all the ship is created. Or, the page can generate the ship along a line from the point to the border of the asteroid...

Friday, January 15, 2021

Asteroid Habitat

15 Jan 2021- Asteroid Colony!

The page draws a simple 2D asteroid to begin with. This is a pixel approach, where the page checks the grid point and draws a gray pixel for my asteroid... Now pick a point just off the edge of the asteroid and the page will draw a round light blue area for some habitat bubbles in the vacuum outside the asteroid.

Wednesday, January 13, 2021

Making an asteroid...

13 Jan 2021- Asteroid Colony!

The page draws a simple 2D asteroid to begin with. This is a pixel approach, where the page checks the grid point and draws a gray pixel if the point is inside of my asteroid. Now pick a point in the asteroid and the page will draw a green dot, for a feature of interest. This is how you will place things on the asteroid to begin with.

Tuesday, January 12, 2021

Stick Person!

12 Jan 2021- Stick Person!

Click and place Stick Person!

Monday, January 11, 2021

Got some peg mountains going on...

11 Jan 2021- Make Terrain!

Click in the scene to 'walk' around.

Tuesday, January 5, 2021

Go For A Walk In The Woods!

5 Jan 2021- Go Walk About!

Click in the scene to 'walk' forward.

Monday, January 4, 2021

Make Some Terrain!

4 Jan 2021- Make Terrain!

Click in the box to change the view.

Sunday, January 3, 2021

Make A Piney Tree!

3 Jan 2021- Make Piney Tree!

Click in the blue and white box to procedurally generate a piney tree...

Make Some Hearts!

3 Jan 2021- Draw Hearts!

Click in the blue box and draw hearts!
(Got some abstract art going on here... 8-P)

Saturday, January 2, 2021

Confetti!

2 Jan 2021- Confetti!

Let's drop some for New Years, belatedly...

Friday, January 1, 2021

Wrapmap!

2 Jan 2021- Wrapmap!

Pick points within the canvas to use as feature points for some Worley Noise. If a point is closer to given feature point then it will have a height based on the distance from that feature point. I'm going with a number of quads based on resolution which I will subdivide into triangle pairs and eventually further subdivide those along the 'shoreline'... (yes, I've done this before, but I'm going somewhere with this, I promise! 8-P)

New (And Improved) Walking Man!

1 Jan 2020- Walking Man!

Walking Man is pacing. Pick another point to 'walk' to.
(This looks *very* weird, but less painful than at first!)