This is a Javascript/HTML5 Canvas algorithm to generate a constellation map of a fictional sky somewhere.
At the moment the code generates one constellation, but will eventually generate a number of them together on a background and maybe a milky way type object, as well as procedurally generated names for each constellation.