You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HF 924fb41741 updating drawOcean.js script and instructions 3 months ago
backupServer set -e in backup rsync 1 year ago
country-locations update country location script 4 years ago
markdown-test expand Markdown parsing, add embeds 2 years ago
ocean-tiles updating drawOcean.js script and instructions 3 months ago
osm-tiles Mirror repository for github 4 years ago clean up utils folder 1 year ago fix not working on protected pixels 3 years ago
checkProxy.js Mirror repository for github 4 years ago Mirror repository for github 4 years ago Mirror repository for github 4 years ago add top10 canvas to 1 year ago
pp-center-331-337-link.png update pp-center pmg 3 years ago
pp-center-331-337.png add utils for downloading from canvas and for creating timelapses based on historical view 3 years ago
redisMoveCanvas.js change redisMoveCanvas script 1 year ago
sphere-projection.blend Mirror repository for github 4 years ago
testStore.js implement own connect-redis 1 year ago split stylesheet from js, style selection and fix all lsint errors 3 years ago

Utils for map creation, conversion, 3d models and related stuff


  • EVERY SCRIPT THAT USES REDIS IS JUST AS REFERENCE (node-redis and keys update and change over time and i am not keeping those up-to-date)
  • we use blender 2.8
  • js script are executed with npm run babel-node utils/[scriptname].js


This blend file includes the sphere we use to display the globe with two UV maps, one for protection like it's used on many globe textures of the earth like here and here and one for our mercator projection that is the same as on OpenStreetMap, with additional changes for poles. The shader nodes in the bumpmap material are setup so that they bake from one uv map to another.

If you want to generate the .glb model file for the site thats in public/globe/globe.glb:

  1. delete all materials of the sphere
  2. delete the "fake-mercator" uv map, so that just the mercator one is left
  3. create a new one without textures
  4. name the material "canvas" (this will then be set by the script to the canvas textures)
  5. select the sphere and export as .glb


Used to generate tiles based on a uv texture that can then be drawn on the canvas, like the oceans and continents.


Generates a json list of country codes and their coordinates on the canvas based on lat and lon


Script to move canvas chunks, i.e. for resizing canvas

downloads an area of the canvas into a png file. Usage: startX_startY endX_endY filename.png (note that you can copy the current coordinates in this format on the site by pressing R)

downloads the history from an canvas area between two dates. Useage: ` canvasId startX_startY endX_endY start_date end_date This is used for creating timelapses, see the cmd help to know how


center logo of pixelplanet


just a script that got run once to add the missing tiles in historical view when increasing the size of the moon canvas.


used to test our own connect-redis fork in src/utils/connectRedis.js