Monday, September 30, 2019

Orrey; 2nd attempt at a system animation

Revised.

Canvas Demo Go get Chrome!

Wednesday, September 25, 2019

Near Star Map

A dozen stars so far, out to Sirius. Interstellar Highway routes and number of relays. I've worked on it some more, finally... link here
An animation of Barnard's star- link here

Monday, September 23, 2019

World map with triangles

Now with triangles, need to randomly choose a different triangle pair, flip them, and jitter the vertices, within reason... I now have the triangle pairs flipping randomly and it makes for a weird effect! 8-P

Canvas

Bouncing Ball (yeah, I know, it's a cliche...)

Sunday, September 22, 2019

Simple world map, good enough for tonight! 8-P



Canvas

Friday, September 20, 2019

System Animation (still working on the animation... 8-P)

Canvas

Wednesday, September 18, 2019

Area of a triangle from the cross product

Canvas

Tuesday, September 17, 2019

Coding Projects

So, what I want to create is a star sector map drawing page, which I have, not perfect but it's a first pass. Then I want to have star systems and an animation displaying the orbiting planets, in 2D to keep it simple. Finally, I want to generate a simple low-poly world map, again in 2D, either a rectilinear longitude and latitude map or an XY side view of a 3D globe without the fancy rendering tricks I can learn to do...

The world map is best generated XYZ, a cube-sphere for what I ultimately have in mind, but a long/lat rectangle mapped to a UV sphere is something I have done many times before. I don't have a noise function in plain vanilla javascript but I can do midpoint displacement (diamond square) by long and lat for a nice height map of the long/lat points, divide the long/lat quads into triangles and average the vertices to find a height for each triangle, placing it above or below sea level.

Drawing landmass... this is just a polygon drawn around an origin from a random starting angle to a random stopping angle. The rectangle is 520 by 260 pixels because the blog text block seems to be that wide and this looks okay. The star sector was 500 pixels square, a 20 light year cube with about 30 stars.

Canvas

Monday, September 16, 2019

Landmass

Drawing landmass... this is just a polygon drawn around an origin from a random starting angle to a random stopping angle. The rectangle is 520 by 260 pixels because the blog text block seems to be that wide and this looks okay. The star sector was 500 pixels square, a 20 light year cube with about 30 stars.

Canvas

Sunday, September 15, 2019

Star Sector Map

It's full of stars...

Canvas

Welcome!

My Webpage

Welcome to my web page!



copyleft Alien Zookeeper Productions 2019