<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://thechange.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Conversion+script</id>
	<title>the change wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://thechange.wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Conversion+script"/>
	<link rel="alternate" type="text/html" href="https://thechange.wiki/Special:Contributions/Conversion_script"/>
	<updated>2026-04-26T11:01:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://thechange.wiki/index.php?title=File_talk:Energy-demand-status-quo.png&amp;diff=266</id>
		<title>File talk:Energy-demand-status-quo.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File_talk:Energy-demand-status-quo.png&amp;diff=266"/>
		<updated>2022-08-26T19:47:38Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File talk:Energy-demand-status-quo.png to File talk:energy-demand-status-quo.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File talk:energy-demand-status-quo.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File_talk:energy-demand-status-quo.png&amp;diff=265</id>
		<title>File talk:energy-demand-status-quo.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File_talk:energy-demand-status-quo.png&amp;diff=265"/>
		<updated>2022-08-26T19:47:38Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File talk:Energy-demand-status-quo.png to File talk:energy-demand-status-quo.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File_talk:Energy-demand-if-developed.png&amp;diff=264</id>
		<title>File talk:Energy-demand-if-developed.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File_talk:Energy-demand-if-developed.png&amp;diff=264"/>
		<updated>2022-08-26T19:47:37Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File talk:Energy-demand-if-developed.png to File talk:energy-demand-if-developed.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File talk:energy-demand-if-developed.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File_talk:energy-demand-if-developed.png&amp;diff=263</id>
		<title>File talk:energy-demand-if-developed.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File_talk:energy-demand-if-developed.png&amp;diff=263"/>
		<updated>2022-08-26T19:47:37Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File talk:Energy-demand-if-developed.png to File talk:energy-demand-if-developed.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File_talk:Energy-usage-by-source.png&amp;diff=262</id>
		<title>File talk:Energy-usage-by-source.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File_talk:Energy-usage-by-source.png&amp;diff=262"/>
		<updated>2022-08-26T19:47:37Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File talk:Energy-usage-by-source.png to File talk:energy-usage-by-source.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File talk:energy-usage-by-source.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File_talk:energy-usage-by-source.png&amp;diff=261</id>
		<title>File talk:energy-usage-by-source.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File_talk:energy-usage-by-source.png&amp;diff=261"/>
		<updated>2022-08-26T19:47:37Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File talk:Energy-usage-by-source.png to File talk:energy-usage-by-source.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Food-funnel.png&amp;diff=260</id>
		<title>File:Food-funnel.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Food-funnel.png&amp;diff=260"/>
		<updated>2022-08-26T19:47:28Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-funnel.png to File:food-funnel.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:food-funnel.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:food-funnel.png&amp;diff=259</id>
		<title>File:food-funnel.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:food-funnel.png&amp;diff=259"/>
		<updated>2022-08-26T19:47:28Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-funnel.png to File:food-funnel.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The world produces enough food, but where does it all go?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This diagram shows the main inefficiencies of the global food supply.&lt;br /&gt;
&lt;br /&gt;
It visualizes the relative proportion of:&lt;br /&gt;
* food crops harvested from farms (a.k.a. the production [[Term:primary|primary]])&lt;br /&gt;
* food burned as [[biofuel]]&lt;br /&gt;
* food fed to animals&lt;br /&gt;
* food produced by animals&lt;br /&gt;
* food loss&lt;br /&gt;
* [[food waste]]&lt;br /&gt;
* food actually eaten&lt;br /&gt;
&lt;br /&gt;
For ''animal feed'', the diagram ''does not'' count grasses, crop residues, or anything else inedible to humans. The diagram strictly shows the usage of ''human-edible'' foodstuffs.&lt;br /&gt;
&lt;br /&gt;
==Methodology==&lt;br /&gt;
&lt;br /&gt;
The thickness of each branch in the diagram, is proportional to the human-edible calories of food involved.&lt;br /&gt;
&lt;br /&gt;
All the per-capita numbers below are calculated as ('''total food''') divided by ('''world population''').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Food Crops Harvested: '''5454 [[Term:kalories|kalories]]/day/capita'''&lt;br /&gt;
* calculated by [[Code:food1.sql]]&lt;br /&gt;
** SQL code: &amp;lt;code&amp;gt;SELECT SUM(production_kalories_per_day)/7.9e9 FROM main WHERE region_name=&amp;quot;World&amp;quot;;&amp;lt;/code&amp;gt;&lt;br /&gt;
MINUS: Biofuels: '''491 kalories/day/capita'''&lt;br /&gt;
* calculated as 9% of Food Crops Harvested. The '9%' comes from [https://www.nationalgeographic.com/foodfeatures/feeding-9-billion/] and refers to calories.&lt;br /&gt;
MINUS: Animal feed: '''1964 kalories/day/capita'''&lt;br /&gt;
* calculated as 36% of Food Crops Harvested. The '36%' comes from [https://www.nationalgeographic.com/foodfeatures/feeding-9-billion/] and refers to calories.&lt;br /&gt;
PLUS: Animal products: '''518 kalories/day/capita'''&lt;br /&gt;
* calculated from [[Code:food2.sql]]&lt;br /&gt;
** SQL code: &amp;lt;code&amp;gt;SELECT SUM(kalories_per_day_per_capita) FROM summary;&amp;lt;/code&amp;gt;&lt;br /&gt;
Now we're at: 3518 kalories/day/capita&lt;br /&gt;
* Call this the &amp;quot;Supply&amp;quot;.&lt;br /&gt;
MINUS: Food loss: '''493 kalories/day/capita'''&lt;br /&gt;
* calculated as 14% of Supply. The '14%' comes from [https://www.un.org/en/observances/end-food-waste-day] which doesn't specify protein or calories or mass or volume, we just have to assume.&lt;br /&gt;
MINUS: Food waste: '''598 kalories/day/capita'''&lt;br /&gt;
* calculated as 17% of Supply. The '17%' comes from [https://www.un.org/en/observances/end-food-waste-day] which doesn't specify protein or calories or mass or volume, we just have to assume.&lt;br /&gt;
* More details derived from the same source:&lt;br /&gt;
** Household food waste - 387 kalories/day/capita (calculated as 11% of Supply)&lt;br /&gt;
** Food service waste - 176 kalories/day/capita (calculated as 5% of Supply)&lt;br /&gt;
** Retail waste - 70 kalories/day/capita (calculated as 2% of Supply) (percentages don't add up due to rounding errors; this causes kalories to not add up either)&lt;br /&gt;
Food Actually Eaten - '''2427 kalories/day/capita'''&lt;br /&gt;
* Net result.&lt;br /&gt;
** However, this is a global average. 10% of the world is still undernourished, living on less than 1800 kalories/day.&lt;br /&gt;
&lt;br /&gt;
Finally, to estimate the food that would be needed to end global hunger, we add 2400 kalories/day {{x|which might be an overestimate, since undernourished people still eat ''some'' calories already}} for every undernourished person. There are currently 829 million people undernourished (10% of global population), according to [https://www.actionagainsthunger.org/world-hunger-facts-statistics]. Divide by the ''world population'', for the sake of comparing in the same ''per-capita'' units used above.&amp;lt;br /&amp;gt;'''252 kalories/day/capita'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagram shape was generated by [[Code:make-flow-diagram1.html]], and the resulting image was edited to add annotations and coloring.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
This diagram is a world overview. It would be worthwhile to ''also'' make more localized versions of this diagram, such as by country. Note that the diagrams would be more complex because of imports &amp;amp; exports at every stage.&lt;br /&gt;
&lt;br /&gt;
If the diagram was done for rich countries such as the USA, the 'food waste' and 'animal feed' sections would be proportionally ''a lot'' bigger.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This diagram doesn't currently include fish. If it did,&lt;br /&gt;
* The top part would have to be renamed from 'crops harvested' to 'production primary', and would include ''wild-caught'' fish.&lt;br /&gt;
* The 'animal feed' would include any human-edible calories fed to ''farmed'' fish.&lt;br /&gt;
* The 'animal products' produced would include the ''farmed'' fish.&lt;br /&gt;
To put things in perspective, seafood contributes about 12g protein/day/capita to the global food supply. [http://olam.wiki/calc/calc2.php?a=%28seafood.production.farmed%20%2B%20seafood.production.wild%29%20%2A%20fish.protein&amp;amp;b=%28grams%2Fday%20per%20capita%29%28world.population%29#]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Food-crop-production1-if-crop-choices.png&amp;diff=258</id>
		<title>File:Food-crop-production1-if-crop-choices.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Food-crop-production1-if-crop-choices.png&amp;diff=258"/>
		<updated>2022-08-26T19:47:27Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-crop-production1-if-crop-choices.png to File:food-crop-production1-if-crop-choices.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:food-crop-production1-if-crop-choices.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:food-crop-production1-if-crop-choices.png&amp;diff=257</id>
		<title>File:food-crop-production1-if-crop-choices.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:food-crop-production1-if-crop-choices.png&amp;diff=257"/>
		<updated>2022-08-26T19:47:27Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-crop-production1-if-crop-choices.png to File:food-crop-production1-if-crop-choices.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Food crop production - what it would be [[crop choices|if mainly high-yielding crops were chosen]].&lt;br /&gt;
&lt;br /&gt;
(Isochromic world map) (Projection: equirectangular/geographic)&lt;br /&gt;
&lt;br /&gt;
==Methodology==&lt;br /&gt;
&lt;br /&gt;
Made from data:&lt;br /&gt;
* [[:File:population.data-float64-8640x4320]]&lt;br /&gt;
* [[:File:cropland.data-float32-4320x2160]]&lt;br /&gt;
* [[:File:countries.data-int16-8640x4320]]&lt;br /&gt;
* [[:File:yields-if-crop-choices.data-float64-895x1]]&lt;br /&gt;
&lt;br /&gt;
[[Code:isochromic.c|Image generator]] code:&lt;br /&gt;
 # load files&lt;br /&gt;
 pop &amp;lt;&amp;lt; data/population.data-float64-8640x4320 # population counts&lt;br /&gt;
 crop &amp;lt;&amp;lt; data/cropland.data-float32-4320x2160  # cropland fraction of land&lt;br /&gt;
 yield &amp;lt;&amp;lt; data/countries.data-int16-8640x4320  # country codes&lt;br /&gt;
 yields &amp;lt;&amp;lt; data/yields-if-crop-choices.data-float64-895x1 # crop yields in scenario (average kalories/day/acre) by country code&lt;br /&gt;
 yield [] yields       # now 'yield' is a map of crop yields&lt;br /&gt;
 borders &amp;lt;&amp;lt; data/borders-black-on-white.png&lt;br /&gt;
 &lt;br /&gt;
 # fill in blanks (default values)&lt;br /&gt;
 crop _= 0&lt;br /&gt;
 crop &amp;gt;= 0&lt;br /&gt;
 yield _= 12546.6943934817  # from food1.sql: SELECT SUM(production_kalories_per_day)/SUM(farmland_acres) FROM main WHERE region_name=&amp;quot;World&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 # scale everything to 2160x1080&lt;br /&gt;
 pop @@ _width/4&lt;br /&gt;
 pop @@ _height/4&lt;br /&gt;
 crop @@ width/2&lt;br /&gt;
 crop @@ height/2&lt;br /&gt;
 yield @@ width/4&lt;br /&gt;
 yield @@ height/4&lt;br /&gt;
 borders @@ width/4&lt;br /&gt;
 borders @@ height/4&lt;br /&gt;
 &lt;br /&gt;
 # make the borders a bit fainter&lt;br /&gt;
 borders -= 1&lt;br /&gt;
 borders *= 0.4&lt;br /&gt;
 borders += 1&lt;br /&gt;
 &lt;br /&gt;
 # calculate food production&lt;br /&gt;
 crop @@ density_to_quantity # now 'crop' is crop land in km^2&lt;br /&gt;
 crop *= 247.10538           # now 'crop' is crop land in acres&lt;br /&gt;
 crop *= yield               # now 'crop' is crop production in kalories/day&lt;br /&gt;
 &lt;br /&gt;
 # generate output...&lt;br /&gt;
 &lt;br /&gt;
 out.r := pop&lt;br /&gt;
 out.r /= 500000 # max people per pixel&lt;br /&gt;
 out.r @@ spread&lt;br /&gt;
 out.r @@ negative&lt;br /&gt;
 &lt;br /&gt;
 out.b := crop&lt;br /&gt;
 out.b /= 1250000000 # max kalories/day per pixel&lt;br /&gt;
 out.b @@ spread&lt;br /&gt;
 out.b @@ negative&lt;br /&gt;
 &lt;br /&gt;
 out.g := out.r&lt;br /&gt;
 out.g *= 3&lt;br /&gt;
 out.g += out.b&lt;br /&gt;
 out.g /= 4&lt;br /&gt;
 &lt;br /&gt;
 out.r *= borders&lt;br /&gt;
 out.g *= borders&lt;br /&gt;
 out.b *= borders&lt;br /&gt;
 &lt;br /&gt;
 out &amp;gt;&amp;gt; data/food-crop-production1-if-crop-choices.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Legend (html):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;table style=&amp;quot;font-family:sans-serif&amp;quot;&amp;gt;&amp;lt;tr style=&amp;quot;line-height:2em&amp;quot;&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  &amp;lt;span style=&amp;quot;background-color:#003FFF; border:1px solid&amp;quot;&amp;gt;&amp;amp;emsp;&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Population&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Total: 7.9 billion&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;vertical-align:top&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;span style=&amp;quot;background-color:#FFC000; border:1px solid&amp;quot;&amp;gt;&amp;amp;emsp;&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Food crop production primary,&amp;lt;br /&amp;gt;&lt;br /&gt;
  if mostly high-yielding&amp;lt;br /&amp;gt;&lt;br /&gt;
  crops were chosen.&amp;lt;br /&amp;gt;&lt;br /&gt;
  &amp;lt;small&amp;gt;Read scenario:&amp;lt;br /&amp;gt;https://&amp;lt;b&amp;gt;olam.wiki/Crop_choices&amp;lt;/b&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Total: 74.6 trillion kalories/day&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Food-crop-production1.png&amp;diff=256</id>
		<title>File:Food-crop-production1.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Food-crop-production1.png&amp;diff=256"/>
		<updated>2022-08-26T19:47:26Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-crop-production1.png to File:food-crop-production1.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:food-crop-production1.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:food-crop-production1.png&amp;diff=255</id>
		<title>File:food-crop-production1.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:food-crop-production1.png&amp;diff=255"/>
		<updated>2022-08-26T19:47:26Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-crop-production1.png to File:food-crop-production1.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Production of food crops, superimposed on population.&lt;br /&gt;
&lt;br /&gt;
Isochromic world map (projection: equirectangular/geographic)&lt;br /&gt;
&lt;br /&gt;
==Methodology==&lt;br /&gt;
Made from data:&lt;br /&gt;
* [[:File:population.data-float64-8640x4320]]&lt;br /&gt;
* [[:File:cropland.data-float32-4320x2160]]&lt;br /&gt;
* [[:File:countries.data-int16-8640x4320]]&lt;br /&gt;
* [[:File:yields.data-float64-895x1]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Code:isochromic.c|Image generator]] code:&lt;br /&gt;
&lt;br /&gt;
 # load files&lt;br /&gt;
 pop &amp;lt;&amp;lt; data/population.data-float64-8640x4320 # population counts&lt;br /&gt;
 crop &amp;lt;&amp;lt; data/cropland.data-float32-4320x2160  # cropland fraction of land&lt;br /&gt;
 yield &amp;lt;&amp;lt; data/countries.data-int16-8640x4320  # country codes&lt;br /&gt;
 yields &amp;lt;&amp;lt; data/yields.data-float64-895x1      # crop yields (average kalories/day/acre) by country code&lt;br /&gt;
 yield [] yields       # now 'yield' is a map of crop yields&lt;br /&gt;
 borders &amp;lt;&amp;lt; data/borders-black-on-white.png&lt;br /&gt;
 &lt;br /&gt;
 # fill in blanks (default values)&lt;br /&gt;
 crop _= 0&lt;br /&gt;
 crop &amp;gt;= 0&lt;br /&gt;
 yield _= 12546.6943934817  # from food1.sql: SELECT SUM(production_kalories_per_day)/SUM(farmland_acres) FROM main WHERE region_name=&amp;quot;World&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 # scale everything to 2160x1080&lt;br /&gt;
 pop @@ _width/4&lt;br /&gt;
 pop @@ _height/4&lt;br /&gt;
 crop @@ width/2&lt;br /&gt;
 crop @@ height/2&lt;br /&gt;
 yield @@ width/4&lt;br /&gt;
 yield @@ height/4&lt;br /&gt;
 borders @@ width/4&lt;br /&gt;
 borders @@ height/4&lt;br /&gt;
 &lt;br /&gt;
 # make the borders a bit fainter&lt;br /&gt;
 borders -= 1&lt;br /&gt;
 borders *= 0.4&lt;br /&gt;
 borders += 1&lt;br /&gt;
 &lt;br /&gt;
 # calculate food production&lt;br /&gt;
 crop @@ density_to_quantity # now 'crop' is crop land in km^2&lt;br /&gt;
 crop *= 247.10538           # now 'crop' is crop land in acres&lt;br /&gt;
 crop *= yield               # now 'crop' is crop production in kalories/day&lt;br /&gt;
 &lt;br /&gt;
 # generate output...&lt;br /&gt;
 &lt;br /&gt;
 out.r := pop&lt;br /&gt;
 out.r /= 500000 # max people per pixel&lt;br /&gt;
 out.r @@ spread&lt;br /&gt;
 out.r @@ negative&lt;br /&gt;
 &lt;br /&gt;
 out.b := crop&lt;br /&gt;
 out.b /= 1250000000 # max kalories/day per pixel&lt;br /&gt;
 out.b @@ spread&lt;br /&gt;
 out.b @@ negative&lt;br /&gt;
 &lt;br /&gt;
 out.g := out.r&lt;br /&gt;
 out.g *= 3&lt;br /&gt;
 out.g += out.b&lt;br /&gt;
 out.g /= 4&lt;br /&gt;
 &lt;br /&gt;
 out.r *= borders&lt;br /&gt;
 out.g *= borders&lt;br /&gt;
 out.b *= borders&lt;br /&gt;
 &lt;br /&gt;
 out &amp;gt;&amp;gt; data/food-crop-production1.png&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Legend (html):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;table style=&amp;quot;font-family:sans-serif&amp;quot;&amp;gt;&amp;lt;tr style=&amp;quot;line-height:2em&amp;quot;&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  &amp;lt;span style=&amp;quot;background-color:#003FFF; border:1px solid&amp;quot;&amp;gt;&amp;amp;emsp;&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Population&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Total: 7.9 billion&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  &amp;lt;span style=&amp;quot;background-color:#FFC000; border:1px solid&amp;quot;&amp;gt;&amp;amp;emsp;&amp;lt;/span&amp;gt;&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Food crop production primary&amp;amp;emsp;&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
  Total: 43.1 trillion kalories/day&lt;br /&gt;
 &amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
 &amp;lt;p&amp;gt;&amp;lt;small&amp;gt;https://&amp;lt;b&amp;gt;olam.wiki/Food&amp;lt;/b&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Country-and-continent-codes-list-csv_csv.csv&amp;diff=254</id>
		<title>File:Country-and-continent-codes-list-csv csv.csv</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Country-and-continent-codes-list-csv_csv.csv&amp;diff=254"/>
		<updated>2022-08-26T19:47:26Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Country-and-continent-codes-list-csv csv.csv to File:country-and-continent-codes-list-csv csv.csv: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:country-and-continent-codes-list-csv csv.csv]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:country-and-continent-codes-list-csv_csv.csv&amp;diff=253</id>
		<title>File:country-and-continent-codes-list-csv csv.csv</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:country-and-continent-codes-list-csv_csv.csv&amp;diff=253"/>
		<updated>2022-08-26T19:47:26Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Country-and-continent-codes-list-csv csv.csv to File:country-and-continent-codes-list-csv csv.csv: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Table of countries and their Country Codes (ISO3, M49, etc) and the continents they are on.&lt;br /&gt;
&lt;br /&gt;
Source: [https://datahub.io/JohnSnowLabs/country-and-continent-codes-list]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Borders-black-on-white.png&amp;diff=252</id>
		<title>File:Borders-black-on-white.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Borders-black-on-white.png&amp;diff=252"/>
		<updated>2022-08-26T19:47:25Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Borders-black-on-white.png to File:borders-black-on-white.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:borders-black-on-white.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:borders-black-on-white.png&amp;diff=251</id>
		<title>File:borders-black-on-white.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:borders-black-on-white.png&amp;diff=251"/>
		<updated>2022-08-26T19:47:25Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Borders-black-on-white.png to File:borders-black-on-white.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
World map: Outlines of countries, black on white&lt;br /&gt;
&lt;br /&gt;
Projection: equirectangular (geographic)&lt;br /&gt;
&lt;br /&gt;
This image was generated by [[Code:borders-black-on-white.c|borders-black-on-white.c]] which uses [[:File:countries.data-int16-8640x4320|countries.data-int16-8640x4320]] (data from NASA) as input.&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Population-earth1.png&amp;diff=250</id>
		<title>File:Population-earth1.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Population-earth1.png&amp;diff=250"/>
		<updated>2022-08-26T19:47:25Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Population-earth1.png to File:population-earth1.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:population-earth1.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:population-earth1.png&amp;diff=249</id>
		<title>File:population-earth1.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:population-earth1.png&amp;diff=249"/>
		<updated>2022-08-26T19:47:25Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Population-earth1.png to File:population-earth1.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
An [[Term:isochromic|isochromic]] map of the world population, superimposed on a pastel-color background that shows land, water, and borders.&lt;br /&gt;
&lt;br /&gt;
Everything in black is population.&lt;br /&gt;
&lt;br /&gt;
Note: Some border lines may be completely obscured by populations (especially India's borders with Bangladesh, Pakistan, and Bhutan). Still better than the opposite (letting the border lines obscure the populations).&lt;br /&gt;
&lt;br /&gt;
==Methodology==&lt;br /&gt;
&lt;br /&gt;
[[Code:isochromic.c|Image generator]] code:&lt;br /&gt;
&lt;br /&gt;
 # load files&lt;br /&gt;
 pop &amp;lt;&amp;lt; data/[[:File:population.data-float64-8640x4320|population.data-float64-8640x4320]]&lt;br /&gt;
 earth &amp;lt;&amp;lt; data/[[:File:blue-marble-posterized.png|blue-marble-posterized.png]]&lt;br /&gt;
 borders &amp;lt;&amp;lt; data/[[:File:borders-black-on-white.png|borders-black-on-white.png]]&lt;br /&gt;
 borders @@ negative&lt;br /&gt;
 &lt;br /&gt;
 # resize things to fit the 'earth' background&lt;br /&gt;
 pop :: _earth.r # the '_' preserves the total population&lt;br /&gt;
 borders :: earth.r&lt;br /&gt;
 borders *= 6 # brighten the lines&lt;br /&gt;
 &lt;br /&gt;
 # lighten the background&lt;br /&gt;
 earth.r += 0.6&lt;br /&gt;
 earth.g += 0.6&lt;br /&gt;
 earth.b += 0.6&lt;br /&gt;
 &lt;br /&gt;
 # show the borders in white&lt;br /&gt;
 earth.r &amp;gt;= borders&lt;br /&gt;
 earth.g &amp;gt;= borders&lt;br /&gt;
 earth.b &amp;gt;= borders&lt;br /&gt;
 &lt;br /&gt;
 # show the population in black&lt;br /&gt;
 pop /= 800000 # max people per pixel&lt;br /&gt;
 pop @@ spread&lt;br /&gt;
 pop @@ negative&lt;br /&gt;
 earth.r &amp;lt;= pop&lt;br /&gt;
 earth.g &amp;lt;= pop&lt;br /&gt;
 earth.b &amp;lt;= pop&lt;br /&gt;
 &lt;br /&gt;
 # save&lt;br /&gt;
 earth &amp;gt;&amp;gt; data/population-earth1.png&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:PRIMARY-Blue_Marble_2002.png&amp;diff=247</id>
		<title>File:PRIMARY-Blue Marble 2002.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:PRIMARY-Blue_Marble_2002.png&amp;diff=247"/>
		<updated>2022-08-26T19:47:24Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:PRIMARY-Blue Marble 2002.png to File:pRIMARY-Blue Marble 2002.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
NASA's original Blue Marble&lt;br /&gt;
&lt;br /&gt;
Map of the Earth from satellite imagery&lt;br /&gt;
&lt;br /&gt;
Projection: equirectangular (geographic)&lt;br /&gt;
&lt;br /&gt;
Source: https://visibleearth.nasa.gov/collection/1484/blue-marble&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Blue-marble-posterized.png&amp;diff=246</id>
		<title>File:Blue-marble-posterized.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Blue-marble-posterized.png&amp;diff=246"/>
		<updated>2022-08-26T19:47:24Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Blue-marble-posterized.png to File:blue-marble-posterized.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:blue-marble-posterized.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:blue-marble-posterized.png&amp;diff=245</id>
		<title>File:blue-marble-posterized.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:blue-marble-posterized.png&amp;diff=245"/>
		<updated>2022-08-26T19:47:24Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Blue-marble-posterized.png to File:blue-marble-posterized.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Simplified version of NASA's Blue Marble. Yellow areas are generally deserts or harsh mountainous regions.&lt;br /&gt;
&lt;br /&gt;
Suggested usage: for superimposing other data in black and/or white.&lt;br /&gt;
&lt;br /&gt;
Map projection: equirectangular (geographic)&lt;br /&gt;
&lt;br /&gt;
How it was made:&lt;br /&gt;
* Opened [[:File:PRIMARY-Blue_Marble_2002.png|Blue_Marble_2002.png (1600x800 version)]] in [http://mtpaint.sourceforge.net mtPaint] (an open-source image editor)&lt;br /&gt;
* Applied gamma=150% to blue and green channels (but not red channel)&lt;br /&gt;
* Applied maximum color saturation, repeatedly&lt;br /&gt;
* Posterized the image, on the most extreme setting&lt;br /&gt;
* Replaced red spots with yellow&lt;br /&gt;
* Flood-filled antarctica to white&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Solar-land-requirements.png&amp;diff=244</id>
		<title>File:Solar-land-requirements.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Solar-land-requirements.png&amp;diff=244"/>
		<updated>2022-08-26T19:47:23Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Solar-land-requirements.png to File:solar-land-requirements.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:solar-land-requirements.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:solar-land-requirements.png&amp;diff=243</id>
		<title>File:solar-land-requirements.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:solar-land-requirements.png&amp;diff=243"/>
		<updated>2022-08-26T19:47:23Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Solar-land-requirements.png to File:solar-land-requirements.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
World map: If all energy came from solar panels, how much land would we need?&lt;br /&gt;
&lt;br /&gt;
The land is shown in white.&lt;br /&gt;
&lt;br /&gt;
We would need approximately 0.8% of Earth's surface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;Just for comparison, crop land is about 2.9% of Earth's surface, and pasture land is about 5.4% of Earth's surface.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Methodology==&lt;br /&gt;
&lt;br /&gt;
Area required for solar panels, if&lt;br /&gt;
* all energy came from solar photovoltaics, and&lt;br /&gt;
* everyone on Earth lived a &amp;quot;first-world&amp;quot; lifestyle.&lt;br /&gt;
&lt;br /&gt;
Map projection: equirectangular&lt;br /&gt;
&lt;br /&gt;
{{dp&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;oecd.energy.tfc&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;3784.37 Mtoe/year&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;OECD countries - energy usage - total final consumption&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Key World Energy Statistics 2020 (IEA report)&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
- Page 49: OECD energy balance, 2018&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{dp&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;oecd.population&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;1372683615&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Number of people living in OECD countries&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Population, total - World Bank Data&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
data.worldbank.org › indicator › SP.POP.TOTL &amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
Using data from 2020&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
OECD countries are: Austria, Australia, Belgium, Canada, Chile, Colombia, Costa Rica, Czech Republic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Israel, Italy, Japan, Korea, Latvia, Lithuania, Luxembourg, Mexico, the Netherlands, New Zealand, Norway, Poland, Portugal, Slovak Republic, Slovenia, Spain, Sweden, Switzerland, Turkey, the United Kingdom and the United States.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{dp&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;solar_panel.efficiency&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;17%&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Efficiency of an average solar panel&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Some solar panels are more efficient than this, but they tend to be expensive and contain more rare metals.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{dp&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;sunlight_average&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;200 watts per m^2&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Solar irradiance, averaged over a whole year INCLUDING nights, cloudy days, etc.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;Note: This varies by region.&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
https://www.newport.com/t/introduction-to-solar-radiation&amp;lt;/nowiki&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://www.ftexploring.com/solar-energy/insolation.htm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{dp&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;area_suitable&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;20%&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;How much of the land is suitable for placing solar panels&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;We're trying to keep the solar panels as close to humans as possible - including on city land. But cities have limited space to put solar panels - in general, rooftops are the way to go. An educated guess says that rooftops are about 20% of city land. 20% is also a good compromise outside the city - you don't want to block out all the sun in the ecosystems.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
First we estimate how much energy would be needed per person: {{p|this is a conservative overestimate. People in warm climates might actually need slightly less energy because they don't need [[heating]]. The difference is not a lot though}}&lt;br /&gt;
{{calc&lt;br /&gt;
|oecd.energy.tfc / oecd.population&lt;br /&gt;
|kWh/year&lt;br /&gt;
|energy_per_capita&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Then we estimate how much area that would take&lt;br /&gt;
{{calc&lt;br /&gt;
|energy_per_capita / (area_suitable * sunlight_average * solar_panel.efficiency)&lt;br /&gt;
|km^2&lt;br /&gt;
|solar_land_per_capita&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Now we use that to generate an [[isochromic]] map:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Code:isochromic.c|Image generator]] code:&lt;br /&gt;
&lt;br /&gt;
 # load files&lt;br /&gt;
 pop &amp;lt;&amp;lt; data/[[:File:population.data-float64-8640x4320|population.data-float64-8640x4320]]&lt;br /&gt;
 earth &amp;lt;&amp;lt; data/[[:File:blue-marble-posterized.png|blue-marble-posterized.png]]&lt;br /&gt;
 &lt;br /&gt;
 # convert 'pop' to population density (people per km^2)&lt;br /&gt;
 pop @@ quantity_to_density&lt;br /&gt;
 &lt;br /&gt;
 # resize 'pop' to fit the 'earth' background&lt;br /&gt;
 pop :: earth.r&lt;br /&gt;
 &lt;br /&gt;
 # make 'pop' represent &amp;quot;for each pixel, what fraction of the land is solar land&amp;quot;&lt;br /&gt;
 pop *= 0.00053790026 # km^2 per person needed for solar           &lt;br /&gt;
 pop @@ spread&lt;br /&gt;
 &lt;br /&gt;
 # darken the background&lt;br /&gt;
 earth.r *= 0.5&lt;br /&gt;
 earth.g *= 0.5&lt;br /&gt;
 earth.b *= 0.5&lt;br /&gt;
 &lt;br /&gt;
 # show the solar land in white&lt;br /&gt;
 earth.r += pop&lt;br /&gt;
 earth.g += pop&lt;br /&gt;
 earth.b += pop&lt;br /&gt;
 earth.r &amp;lt;= 1&lt;br /&gt;
 earth.g &amp;lt;= 1&lt;br /&gt;
 earth.b &amp;lt;= 1&lt;br /&gt;
 &lt;br /&gt;
 # save&lt;br /&gt;
 earth &amp;gt;&amp;gt; data/solar-land-requirements.png&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 # How much solar land is needed in total?&lt;br /&gt;
 pop @@ density_to_quantity  # make 'pop' represent &amp;quot;for each pixel, how many km^2 of solar land&amp;quot;&lt;br /&gt;
 pop @@ stats&lt;br /&gt;
&lt;br /&gt;
From the &amp;quot;stats&amp;quot; output from the last line:&lt;br /&gt;
 Sum: 4293152.303951&lt;br /&gt;
This means there is 4293152 km^2 of solar land.&lt;br /&gt;
&lt;br /&gt;
Divide this by the Earth's surface (510072000 km^2), and you get '''0.8%'''.&lt;br /&gt;
&lt;br /&gt;
==Would your city need [[solar farms]]?==&lt;br /&gt;
{{calc&lt;br /&gt;
|1 / solar_land_per_capita&lt;br /&gt;
|people per km^2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Simple heuristic:&lt;br /&gt;
* If your city's ''population density'' is greater than this number above, then yes.&lt;br /&gt;
* Otherwise, all energy could be generated within the city (rooftops, probably).&lt;br /&gt;
&lt;br /&gt;
But this is an oversimplification. Some things to consider:&lt;br /&gt;
* Every city defines its borders differently - this could bias the official stats of &amp;quot;population density&amp;quot;.&lt;br /&gt;
* If [[factories]] are in some industrial area outside the city, their solar panels could be there instead.&lt;br /&gt;
* Other factors, shown in the next section:&lt;br /&gt;
&lt;br /&gt;
==Limitations of this analysis==&lt;br /&gt;
* Not all cities have the same &amp;lt;code&amp;gt;area_suited&amp;lt;/code&amp;gt; for solar panels.&lt;br /&gt;
* Solar panel output varies by latitude.&lt;br /&gt;
* Energy requirements for [[heating]] depend on latitude.&lt;br /&gt;
&lt;br /&gt;
If we want something really accurate, we might have to analyze things on a city-by-city basis.&lt;br /&gt;
&lt;br /&gt;
Not counted in this map: The land that would be needed for {{p2|extracting the minerals|you can [[Talk:minerals|help calculate this]] - analyze your favorite battery chemistry and solar panel chemistry}} needed to make both the solar panels and [[energy storage]].&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Energy-demand-if-developed.png&amp;diff=242</id>
		<title>File:Energy-demand-if-developed.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Energy-demand-if-developed.png&amp;diff=242"/>
		<updated>2022-08-26T19:47:23Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Energy-demand-if-developed.png to File:energy-demand-if-developed.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:energy-demand-if-developed.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:energy-demand-if-developed.png&amp;diff=241</id>
		<title>File:energy-demand-if-developed.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:energy-demand-if-developed.png&amp;diff=241"/>
		<updated>2022-08-26T19:47:23Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Energy-demand-if-developed.png to File:energy-demand-if-developed.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Methodology: see [[energy demand scenarios]].&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Energy-demand-status-quo.png&amp;diff=240</id>
		<title>File:Energy-demand-status-quo.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Energy-demand-status-quo.png&amp;diff=240"/>
		<updated>2022-08-26T19:47:22Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Energy-demand-status-quo.png to File:energy-demand-status-quo.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:energy-demand-status-quo.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:energy-demand-status-quo.png&amp;diff=239</id>
		<title>File:energy-demand-status-quo.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:energy-demand-status-quo.png&amp;diff=239"/>
		<updated>2022-08-26T19:47:22Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Energy-demand-status-quo.png to File:energy-demand-status-quo.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
Methodology: see [[energy demand scenarios]].&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Energy-usage-by-source.png&amp;diff=238</id>
		<title>File:Energy-usage-by-source.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Energy-usage-by-source.png&amp;diff=238"/>
		<updated>2022-08-26T19:47:22Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Energy-usage-by-source.png to File:energy-usage-by-source.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:energy-usage-by-source.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:energy-usage-by-source.png&amp;diff=237</id>
		<title>File:energy-usage-by-source.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:energy-usage-by-source.png&amp;diff=237"/>
		<updated>2022-08-26T19:47:22Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Energy-usage-by-source.png to File:energy-usage-by-source.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
X axis scale: 1 pixel = 32 Mtoe/year&lt;br /&gt;
&lt;br /&gt;
'''Top bar:''' Energy used to generate electricity {{p2|*(for simplicity sake)|Technically, 22% of the ''top bar'' is other things: losses, energy industry's own use, etc. But that would make the graph too complicated for some people lol }}.&lt;br /&gt;
&lt;br /&gt;
'''Bottom bar:''' Total final consumption (TFC) - {{q|Includes, for example, gasoline used in cars, electricity used in buildings, coal used in factories, etc.}}&lt;br /&gt;
&lt;br /&gt;
Total energy supply (TES) - {{q|Also known as &amp;quot;primary energy consumption&amp;quot; - this consists of energy sources in their original form, before any transformation.}}: top bar + bottom bar - electricity&lt;br /&gt;
&lt;br /&gt;
== Methodology ==&lt;br /&gt;
&lt;br /&gt;
Using data from Key World Energy Statistics 2020 (a report published by IEA (International Energy Agency)).&lt;br /&gt;
&lt;br /&gt;
=== Top bar ===&lt;br /&gt;
Calculated from the numbers on Page 47 - &amp;quot;Simplified energy balance table&amp;quot; - World energy balance, 2018&lt;br /&gt;
{|&lt;br /&gt;
|Coal&lt;br /&gt;
|(3838.33 - 994.50) Mtoe/year&lt;br /&gt;
|-&lt;br /&gt;
|Oil&lt;br /&gt;
|(4585.52 - 12.59 - 88.52 - 4038.50) Mtoe/year&lt;br /&gt;
|-&lt;br /&gt;
|Natural gas&lt;br /&gt;
|(3261.59 - 1611.35) Mtoe/year&lt;br /&gt;
|-&lt;br /&gt;
|Nuclear&lt;br /&gt;
|706.81 Mtoe/year&lt;br /&gt;
|-&lt;br /&gt;
|Hydro&lt;br /&gt;
|362.33 Mtoe/year&lt;br /&gt;
|-&lt;br /&gt;
|Biofuels and waste&lt;br /&gt;
|(1327.13 - 1012.37) Mtoe/year&lt;br /&gt;
|-&lt;br /&gt;
|Other&lt;br /&gt;
|288.70 Mtoe/year&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Electricity generated by source===&lt;br /&gt;
Using percentages from Page 30 - &amp;quot;Electricity generation by source&amp;quot; - 2018 pie chart&lt;br /&gt;
{|&lt;br /&gt;
|Coal&lt;br /&gt;
|38.2%&lt;br /&gt;
|-&lt;br /&gt;
|Oil&lt;br /&gt;
|2.9%&lt;br /&gt;
|-&lt;br /&gt;
|Natural gas&lt;br /&gt;
|23.1%&lt;br /&gt;
|-&lt;br /&gt;
|Nuclear&lt;br /&gt;
|10.2%&lt;br /&gt;
|-&lt;br /&gt;
|Hydro&lt;br /&gt;
|15.8%&amp;lt;br&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Other&lt;br /&gt;
|9.8%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Bottom bar ===&lt;br /&gt;
Using numbers from Page 34 - &amp;quot;World total final consumption (TFC) by source&amp;quot; - 2018 pie chart&lt;br /&gt;
{|&lt;br /&gt;
|Total&lt;br /&gt;
|9937.70 Mtoe/year {{p|the extra precision was provided on Page 47}}&lt;br /&gt;
|-&lt;br /&gt;
|Coal&lt;br /&gt;
|10.0%&lt;br /&gt;
|-&lt;br /&gt;
|Oil&lt;br /&gt;
|40.8%&lt;br /&gt;
|-&lt;br /&gt;
|Natural gas&lt;br /&gt;
|16.2%&lt;br /&gt;
|-&lt;br /&gt;
|Biofuels and waste&lt;br /&gt;
|10.2%&lt;br /&gt;
|-&lt;br /&gt;
|Other&lt;br /&gt;
|3.5%&lt;br /&gt;
|-&lt;br /&gt;
|Electricity&lt;br /&gt;
|19.3%&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Design decisions==&lt;br /&gt;
Why say &amp;quot;Mtoe/year&amp;quot; when the original source says just &amp;quot;Mtoe&amp;quot; and &amp;quot;year 2018&amp;quot;:&lt;br /&gt;
: This bar graph is supposed to be a general overview of the world's ''rate'' of energy consumption. At the time of making it, 2018 was just the most recent year with detailed data available. Energy consumption changes every year, but not a whole lot. {{x|The long term trend is that it grows about 2%/year (except for recessions in 2008 and 2020) }}&lt;br /&gt;
&lt;br /&gt;
Why put 'other' before 'electricity' in the bottom bar:&lt;br /&gt;
: Because it makes it easier to visually see all of TES together.&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Map-energy-population.png&amp;diff=236</id>
		<title>File:Map-energy-population.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Map-energy-population.png&amp;diff=236"/>
		<updated>2022-08-26T19:47:21Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Map-energy-population.png to File:map-energy-population.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:map-energy-population.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:map-energy-population.png&amp;diff=235</id>
		<title>File:map-energy-population.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:map-energy-population.png&amp;diff=235"/>
		<updated>2022-08-26T19:47:21Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Map-energy-population.png to File:map-energy-population.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Crop-yields-map.png&amp;diff=234</id>
		<title>File:Crop-yields-map.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Crop-yields-map.png&amp;diff=234"/>
		<updated>2022-08-26T19:47:21Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Crop-yields-map.png to File:crop-yields-map.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:crop-yields-map.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:crop-yields-map.png&amp;diff=233</id>
		<title>File:crop-yields-map.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:crop-yields-map.png&amp;diff=233"/>
		<updated>2022-08-26T19:47:21Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Crop-yields-map.png to File:crop-yields-map.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;1 million kcal/year  is about enough to feed 1 person.&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Food-funnel-old.png&amp;diff=232</id>
		<title>File:Food-funnel-old.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Food-funnel-old.png&amp;diff=232"/>
		<updated>2022-08-26T19:47:20Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-funnel-old.png to File:food-funnel-old.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:food-funnel-old.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:food-funnel-old.png&amp;diff=231</id>
		<title>File:food-funnel-old.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:food-funnel-old.png&amp;diff=231"/>
		<updated>2022-08-26T19:47:20Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Food-funnel-old.png to File:food-funnel-old.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:Map-population-foodProduction.png&amp;diff=230</id>
		<title>File:Map-population-foodProduction.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:Map-population-foodProduction.png&amp;diff=230"/>
		<updated>2022-08-26T19:47:20Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Map-population-foodProduction.png to File:map-population-foodProduction.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[File:map-population-foodProduction.png]]&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
	<entry>
		<id>https://thechange.wiki/index.php?title=File:map-population-foodProduction.png&amp;diff=229</id>
		<title>File:map-population-foodProduction.png</title>
		<link rel="alternate" type="text/html" href="https://thechange.wiki/index.php?title=File:map-population-foodProduction.png&amp;diff=229"/>
		<updated>2022-08-26T19:47:19Z</updated>

		<summary type="html">&lt;p&gt;Conversion script: Conversion script moved page File:Map-population-foodProduction.png to File:map-population-foodProduction.png: Converting page titles to lowercase&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Food production in yellow, population in blue.&lt;br /&gt;
&lt;br /&gt;
The population pixels have been visually 'spread' to make them easier to see. A 50/50 balance of blue and yellow indicates that enough food is produced to feed the population.&lt;br /&gt;
&lt;br /&gt;
Units: 1 million kcal/year = enough food to feed 1 person.&lt;/div&gt;</summary>
		<author><name>Conversion script</name></author>
	</entry>
</feed>