1,956
edits
(Updated the "preserve sums" syntax (it's '$' now, not '_')) |
|||
Line 33: | Line 33: | ||
borders << data/borders-black-on-white.png | borders << data/borders-black-on-white.png | ||
borders @@ negative | borders @@ negative | ||
borders @@ | borders @@ $width/4 | ||
borders @@ | borders @@ $height/4 | ||
main.r >= borders | main.r >= borders | ||
main.g >= borders | main.g >= borders | ||
Line 42: | Line 42: | ||
# add the population | # add the population | ||
pop << data/population.data-float64-8640x4320 | pop << data/population.data-float64-8640x4320 | ||
pop @@ | pop @@ $width/4 # the '$' preserves the total population | ||
pop @@ | pop @@ $height/4 # same | ||
pop /= 440000 # max people per pixel | pop /= 440000 # max people per pixel | ||
pop @@ spread | pop @@ spread |