Science & methods
Once the air, water, and rock fade, the globe shows a thin veil. Its brightness begins with an estimate of how many nematodes live in the soil below. You can compare that prediction with the places researchers actually sampled.
Cobb’s thought experiment
if all the matter in the universe except the nematodes were swept away, our world would still be dimly recognizable
Nathan A. Cobb, USDA Yearbook 1914, p. 472, published in 1915
Cobb imagined a film tracing mountains and oceans. He thought towns might stand out because people would bring certain nematodes together. We can explore part of that idea with a modern soil map. It predicts how many animals live in the topsoil. To turn that number into light, the exhibit has to choose how large their silhouettes would look and how they would overlap.
Take a single column with optical depth 0.04. If opaque silhouettes fall at random, the expected fraction of the view they cover is 1 − exp(−0.04), about 3.9%. That is an example from the rendering model. A global average would require doing the calculation across the map and weighting each patch by its area. The viewer also increases exposure so you can see the differences.
Would towns stand out?
We compared two published maps across twenty cities. Within a one-degree square around each city, we matched predicted soil abundance to the fraction of each cell covered by buildings. We divided each prediction by the average in nearby cells with less than 2% built-up cover. This gave every city its own local reference. ETH soil predictions · JRC built-up surface
We trimmed the highest and lowest 0.5% of the pooled abundance ratios. Across the
remaining 243,294 mapped pixels, our fitted curve did slightly
worse than predicting the mean (R² = −0.0003). The curve was
1 + a·u + b·u², where u is built-up fraction. Its linear
coefficient was −0.0085, with a nominal 95% interval of −0.035 to +0.019.
That interval describes a alone. It comes from resampling individual
pixels, although nearby pixels share geography and each city shares a reference value.
The comparison gave us no basis for adding a fixed city effect to the soil map.
Project calculation (Python).
In the viewer, Soil model leaves the published predictions alone.
Cobb illustration scales the density used for display by
1 + 3u, reaching four times the modelled density on fully built-up
ground. We chose that multiplier. Cobb gave no numerical estimate.
Field studies can ask questions that these two maps cannot. Li and colleagues estimated 27% higher total abundance in urban soil than in primary habitat, but the urban total did not differ significantly across those land-use comparisons. Gong and colleagues found a smaller share of predators and omnivores in urban soils in a study that included paired sites in twelve Chinese cities. A change in the mix of feeding groups can occur even if the total stays similar. Li et al. (2022), results and Fig. S4 · Gong et al. (2024)
Where the data come from
From soil samples to a global field
Van den Hoogen and colleagues compiled 6,759 soil samples and used environmental data to predict abundance in the top 15 cm of soil. They aggregated samples by map pixel and excluded 39 Antarctic pixels where environmental data were incomplete. The remaining 1,876 pixels supplied the geospatial model. The authors estimated (4.4 ± 0.64) × 10²⁰ nematodes in surface soils worldwide. 2019 study · Authors’ copy with methods
Turn on Sample locations to see the later data release. It contains 6,825 records, including 66 additional samples from Ireland. Each marker locates a soil sample with a count per 100 g of dry soil. Several records can share a location. The marker colours distinguish Antarctic records from other biomes. A count of markers tells us where sampling occurred. Calculating the area sampled would also require the footprint of each collection. 2020 data paper · Figshare sample records
Reading the soil layer
The veil uses the predicted number of nematodes per square metre. We read every row of the published abundance and uncertainty grids, weighted the input by area and mapped the result onto six 512 × 512 faces. A cell is about 20 km across on average, with its size varying across a face. Zoom stops when the widest ground cell at the centre of the view would occupy eight CSS pixels. Zooming closer would only enlarge the same prediction. Abundance and uncertainty grids · Project atlas metadata
- Density and coverage. One channel stores the logarithm of the average abundance across the cell. Another records the fraction with a valid prediction. A coastal cell’s average already accounts for partial coverage. The viewer converts the stored values back to optical depth before blending neighbouring cells. Empty cells contribute zero. This includes the open ocean and the poles beyond the source’s 88° latitude limit.
- Model uncertainty. The colour overlay summarizes variation across the source study’s bootstrap predictions. For each source pixel, the coefficient of variation is the standard deviation divided by the mean. The display averages those coefficients over the supported area. An empty ocean cell contributes no uncertainty estimate to a neighbouring coastal cell. Estimating uncertainty in the total population of a region would require a separate calculation.
- Feeding groups. The data files also store the share of omnivores and predators among five separately modelled feeding groups. This layer uses a coarser extraction with its own coverage mask. Some cells with a density prediction lack feeding-group data. The viewer currently displays density and uncertainty. Functional-group grids
We checked how much the conversion changes the source total. Using the project’s spherical cell areas, the input integrates to about 4.615 × 10²⁰, roughly 4.9% above the study’s central estimate. Summing the values sent to the graphics processor at the centres of all the display cells gives a total 0.009% above that input. This checks how much the conversion preserves. Testing local ecological predictions requires observations from the ground. Atlas and source totals · Rendering checks.
Terrain and built-up land
NOAA’s ETOPO 2022 supplies bedrock and ice-surface heights at 60 arc-seconds. The viewer draws the bedrock. It uses both surfaces to estimate where ice sits on land, including where the bed lies below sea level. The simplified mask can also classify ice-free inland basins below sea level as water. NOAA relief model and grids · Project land-mask checks
The European Commission’s GHS-BUILT-S grid gives square metres of built-up surface per cell for 2020. We divide that area by the cell’s physical area, which varies with latitude, to get the fraction used by the Cobb illustration. GHS-BUILT-S R2023A · Project built-up atlas metadata
Why the oceans are blank
The soil survey covers land. We investigated whether published seafloor measurements could support a marine layer. Two regional experiments used sediment cores covering the top 5 cm. We held out one area or station at a time and asked whether water depth predicted abundance better than a constant fitted to the remaining cores.
In the Clarion–Clipperton Zone, the depth model did worse across 31 cores in four areas. At HAUSGARTEN it did better across 65 cores at three stations. The first study reports total nematode abundance. For the second, we summed reported taxon abundances, whose completeness is uncertain. These results have too little geographic coverage to justify colouring the global seafloor. Hauquier et al., Clarion–Clipperton Zone (CC BY 3.0) · Schnier et al., HAUSGARTEN (CC BY 4.0)
Two other sources helped define the limits. Canyon samples record animals picked for identification. The seafloor compilation by Wei and colleagues includes 230 nematode records with no common sediment-depth interval. We excluded both from the fixed-depth comparison. Ingels et al., canyon data (CC BY 3.0) · Canyon sampling method · Wei et al., File S1 (CC Attribution, version unspecified in the article)
How the globe is drawn
From soil density to a visible veil
The soil map estimates the number of nematodes beneath each square metre of ground in the upper 15 cm. It tells us little about where each animal lies within that column. To draw the veil, the renderer combines the mapped abundance at each location with an invented vertical profile. Changing that profile changes the silhouette you see from orbit. Once the last rock disappears, the far side of the veil gradually appears through the near side. You can reverse the reveal with the scrubber. Soil abundance study.
How much light would a column of nematodes block? The exhibit assumes that a single animal presents an average silhouette of 14,900 square micrometres. Multiplying that area by the abundance per square metre gives the optical depth. The silhouette is a display assumption. Actual body sizes, orientations and clustering vary. The renderer integrates the loss of light along a line of sight using a standard volume-rendering model. Max, Optical Models for Direct Volume Rendering.
Looking along the edge of the globe, you see through more of the shell than when looking straight down. That longer path makes the rim bright. The opening uses an exaggerated 32 km scale height and caps the optical depth to keep the rim legible. The project’s optical model and height profile give the settings. The path-length approximation follows Chapman’s treatment of light passing through a curved atmosphere.
The shape of the globe
For each pixel the graphics processor traces a ray through a shell around the WGS 84 ellipsoid. It samples up to 128 positions per crossing, stopping early when less than 0.3% of the light remains. Solid Earth initially hides the far side. Once the rock disappears, a ray can cross the hollow interior and pick up the far-side veil as well. The full sweep lasts about 33.5 seconds at normal playback. Scrubbing lets you inspect any stage. WGS 84 ellipsoid parameters (FAA Order 8260.42B, Appendix 2).
The soil texture wraps six square faces around the globe. Each face has 512 cells per side. The nominal spacing is about 20 km, with a larger footprint near the middle of a face than at its corners. Smoothing between neighboring values helps the veil look continuous. Zoom stops before those cells fill the screen with apparent detail that the soil map cannot resolve. Each marker has a fixed diameter of three CSS pixels at every zoom. A larger sample count does not produce a larger dot. Soil texture metadata · Sample record layout.
What changed in testing
Floating ice looked like land
An early ice mask drew a sharp-edged patch around Greenland. It classified thick ice as ground even where the ice floated on water. The global land fraction still looked plausible, so that single check missed the error. The corrected mask uses bedrock and ice-surface heights to approximate where ice is grounded. The pipeline now checks specific places, including the Greenland summit, Baffin Bay and the Ross Ice Shelf. Coastal cells and below-sea-level basins remain approximate. NOAA ETOPO relief model · Land-mask checks and probe values.
Empty ocean cells still glowed
To store density on a logarithmic scale, the original texture assigned a small positive value even to empty cells. Drawing that value gave the ocean a faint veil. A separate coverage channel now hides cells with no source data, including in the uncertainty overlay. A blank ocean marks the edge of the terrestrial model’s coverage. Marine nematode abundance there remains unknown. Soil channels and coverage.
Faint land areas nearly disappeared
The veil’s brightness already accounts for how much light passes through a column. An earlier renderer applied its opacity a second time. That made low-density land look almost as dark as open ocean. The corrected viewer applies opacity once. We checked the emitted light for thin and dense columns and confirmed that an empty column still contributes no light. WebGPU measurements.
Smooth gradients acquired stripes
The dimmest parts of the veil use only a few shades on an 8-bit display. Rounding many neighboring pixels to the same shade produced visible bands. The shader now varies brightness slightly from pixel to pixel. In the project’s test gradient, the longest run of identical values fell from 28 pixels to four. The variation scales with the light in the veil, leaving empty sky dark. The measurement is reproducible with the gradient test.
Software and delivery
The globe runs in the browser using TypeScript, three.js and WebGPU. A Python pipeline reads the scientific rasters ahead of time and converts them into textures. That lets a visitor load the exhibit without downloading the original multi-gigabyte files. three.js r185 · Research and data credits.
The site sends the textures compressed with Brotli. The release build decodes each file and checks that its checksum matches the one recorded before compression. Terrain and built-up land load in stages, so the globe can open while finer geography is still arriving. HTML is revalidated on return visits, and changed datasets get new URLs so cached textures stay matched to their metadata. Brotli format · Cloudflare Pages response headers.
JavaScript and a usable WebGPU device power the interactive view. With either one unavailable, visitors can see the still image and read the same methods and credits. Return to the exhibit.
Research references
- Nathan A. Cobb. “Nematodes and their relationships.” Yearbook of the United States Department of Agriculture 1914, published in 1915, pp. 457–490. Read the passage on p. 472.
- Johan van den Hoogen and coauthors. “Soil nematode abundance and functional group composition at a global scale.” Nature 572, 194–198 (2019). Paper · Open manuscript (PDF).
- Johan van den Hoogen and coauthors. “A global database of soil nematode abundance and functional group composition.” Scientific Data 7, 103 (2020). Data paper · Version 1 sample records.
- Xianping Li and coauthors. “Management effects on soil nematode abundance differ among functional groups and land-use types at a global scale.” Journal of Animal Ecology 91, 1770–1780 (2022). Land-use comparison.
Credits & rights
Ethan Soch created the viewer, data pipeline, and visual interpretation, with coding assistance from Claude Code and Codex. The original software is MIT-licensed. The data, quotations, and images have their own terms. Project source · Cite the software (CITATION.cff).
- Historical text. The opening quotes Nathan A. Cobb’s USDA Yearbook essay, p. 472.
- Soil model and images. Johan van den Hoogen and coauthors published the abundance model. Van den Hoogen and Devin Routh deposited the abundance and uncertainty rasters and the feeding-group rasters at ETH Zurich. Both records permit non-commercial use. The soil textures and poster images derive from these rasters. For other uses outside applicable exceptions, seek permission from the rights holders. ETH source rights statement.
- Sample locations. Stefan Geisen, Johan van den Hoogen, Data Providers, and Thomas Crowther released the sample dataset under CC0. The 2020 data paper describes the collection and its sampling methods.
- Terrain. NOAA’s National Centers for Environmental Information released ETOPO 2022 under CC0. We resampled its 60 arc-second bedrock and ice-surface grids to draw terrain and estimate land cover.
- Built-up surface. Martino Pesaresi and Panagiotis Politis at the European Commission Joint Research Centre produced GHS-BUILT-S R2023A. We converted the 2020 built-up area to fractions of each cell and resampled the result. The catalogue specifies the European Commission reuse notice.
- Globe shaders. The erosion and terrain effects use noise routines from MaterialX and Open Shading Language, translated by three.js. MaterialX licence · Open Shading Language notices.
- Marine research. The offline experiment draws on four separately credited deposits. Marine data and reuse terms.
Project software copyright and MIT licence
MIT License Copyright (c) 2026 Ethan Soch Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
three.js copyright and MIT licence
The MIT License Copyright © 2010-2026 three.js authors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Vite browser helper copyright and MIT licence
MIT License Copyright (c) 2019-present, VoidZero Inc. and Vite contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ACES filmic fit copyright and upstream notice
Stephen Hill's colour transform appears in three.js and in the project's CPU reference. The upstream shader accompanies the 2016 paper by Heitz, Dupuy, Hill and Neubelt.
Copyright (c) 2017, Eric Heitz, Jonathan Dupuy, Stephen Hill and David Neubelt. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * If you use (or adapt) the source code in your own work, please include a reference to the paper: Real-Time Polygonal-Light Shading with Linearly Transformed Cosines. Eric Heitz, Jonathan Dupuy, Stephen Hill and David Neubelt. ACM Transactions on Graphics (Proceedings of ACM SIGGRAPH 2016) 35(4), 2016. Project page: https://eheitzresearch.wordpress.com/415-2/ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.