dnbard / game-deepspace

Web game about space exploration
1 stars 0 forks source link

To create canvas visualization for random planets #17

Closed dnbard closed 10 years ago

dnbard commented 10 years ago

References:

dnbard commented 10 years ago

Use this image from Mass Effect as reference of planets UI design Reference from Mass Effect

dnbard commented 10 years ago

This can be achieved with layer masking: planet

maskie2

Maybe more information must be found about color blending with the help of canvas.

dnbard commented 10 years ago

This stackoverflow article contains example of code that can be used to render images with masking to html5 canvas. http://stackoverflow.com/questions/18379818/html5-canvas-image-masking-overlapping

dnbard commented 10 years ago

PlanetMaker can be used to prerender planets (not like this idea unless this images will have colors flattered to look like images above) - http://planetmaker.wthr.us/

dnbard commented 10 years ago

generated-planet

dnbard commented 10 years ago

planet

planet