Ranges is a series of automatically generated landscapes, using JavaScript.

When the code runs, the program makes a random choice whether to generate a valley or a hill, which it then draws.

It then plots a moon above the horizon and five stars, randomly placed but also above the horizon.

It captions the image using word lists, slotting into the sentence The [word 1] of [word 2].

If the image plotted is a valley, [word 1] will be a synonym for valley and [word 2] will be the name of a crater on the moon.

If the image is a hill, [word 1] will be a synonym for hill and [word 2 will be the name of a mountain on the moon.

Ranges refreshes every 6 seconds.

Back to Ranges.