|
|
Line 1: |
Line 1: |
| ==Summary== | | ==Summary== |
| Map of Earth with all pasture land shown in black. | | Map of Earth with all pasture land shown in black. |
|
| |
| ==Methodology==
| |
|
| |
| Made from [[:File:pasture.data-float32-4320x2160]] and [[:File:blue-marble-posterized.png]].
| |
|
| |
| [[Code:isochromic.c|Image generator]] code:
| |
| pasture<< data/pasture.data-float32-4320x2160 # pasture density
| |
| earth << data/blue-marble-posterized.png # base layer
| |
|
| |
| pasture >= 0 # remove junk data
| |
| pasture :: earth.r # resize to fit base layer
| |
|
| |
| earth.r -= pasture
| |
| earth.g -= pasture
| |
| earth.b -= pasture
| |
| earth.r @@ 01
| |
| earth.g @@ 01
| |
| earth.b @@ 01
| |
| earth >> data/land-crop1.png
| |
|
| |
|
| ==Zipped download== | | ==Zipped download== |