Skip to content

Instantly share code, notes, and snippets.

@AndrewAnnex
Last active November 27, 2022 21:46
Show Gist options
  • Save AndrewAnnex/2ee19b2afe789faf7c81bdd978a7ed7c to your computer and use it in GitHub Desktop.
Save AndrewAnnex/2ee19b2afe789faf7c81bdd978a7ed7c to your computer and use it in GitHub Desktop.
Terrain RGB encoding for planets
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{"mercury": {"minimum_elevation_m": -6000.0, "maximum_elevation_m": 5000.0, "resolution_m": 0.00066221, "body": "mercury"}, "venus": {"minimum_elevation_m": -4000.0, "maximum_elevation_m": 13000.0, "resolution_m": 0.00102341, "body": "venus"}, "earth": {"minimum_elevation_m": -11500.0, "maximum_elevation_m": 9500.0, "resolution_m": 0.00126421, "body": "earth"}, "moon": {"minimum_elevation_m": -9500.0, "maximum_elevation_m": 11500.0, "resolution_m": 0.001264215, "body": "moon"}, "mars": {"minimum_elevation_m": -8500.0, "maximum_elevation_m": 21500.0, "resolution_m": 0.00178993, "body": "mars"}, "anyrock": {"minimum_elevation_m": -10000.0, "maximum_elevation_m": 22000.0, "resolution_m": 0.00192642, "body": "any"}}
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@RichardScottOZ
Copy link

In the notebook intro...loosely or lossly?

@RichardScottOZ
Copy link

In Other Ideas... from jpeg compressions

@AndrewAnnex
Copy link
Author

AndrewAnnex commented Nov 23, 2022 via email

@AndrewAnnex
Copy link
Author

AndrewAnnex commented Nov 23, 2022 via email

@AndrewAnnex
Copy link
Author

okay lossly isn't a word, lossy is the correct word to use here. Also @RichardScottOZ do you spellcheck gists for fun?

@RichardScottOZ
Copy link

No, if I happen to notice something on something good, I figure I may as well mention - don't generally come across lots of gists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment