🌏 Generate world maps
https://hjemmesider.diku.dk/~torbenm/Planet/
|
Fawn
4124e9c054
- Instead of double indirection, allocate memory for a 2-dimensional array directly, and cast the pointer type when used to get proper indexing maths - Use bool for more flags I previously missed - Replace fprintf() calls without format specifiers with fputs() or putc() - Format everything that was touched by the above (and more that wasn't) |
||
|---|---|---|
| .clangd | Remove macOS 9 support, clean up _WIN32 checks | |
| .gitignore | Update function declarations to C99 style | |
| 2col.col | 2024年08月14日 revision | |
| Bathymetric.col | 2014年11月12日 revision | |
| Blackbody.col | 2014年11月12日 revision | |
| burrows.col | 2014年11月12日 revision | |
| burrowsB.col | 2014年11月12日 revision | |
| Colors.rgb | 2014年11月12日 revision | |
| default.bio | 2024年08月14日 revision | |
| default.col | 2014年11月12日 revision | |
| defaultB.col | 2014年11月12日 revision | |
| earth.map | 2024年08月14日 revision | |
| Grey.rgb | 2014年11月12日 revision | |
| greyscale.col | 2014年11月12日 revision | |
| Jons.rgb | 2014年11月12日 revision | |
| Lefebvre.col | 2014年11月12日 revision | |
| Lefebvre2.col | 2014年11月12日 revision | |
| LICENSE.txt | Update function declarations to C99 style | |
| light.col | 2014年11月12日 revision | |
| Manual.pdf | 2024年08月14日 revision | |
| mars.col | 2014年11月12日 revision | |
| Mars.rgb | 2014年11月12日 revision | |
| math.h | Clean up error handling | |
| Olsson.col | 2024年08月14日 revision | |
| Olsson2.col | 2024年08月14日 revision | |
| OlssonLight.col | 2014年11月12日 revision | |
| planet.c | Allocate contiguous memory blocks, format stuff | |
| README.md | Update function declarations to C99 style | |
| white.col | 2014年11月12日 revision | |
| White.rgb | 2014年11月12日 revision | |
| wood.col | 2014年11月12日 revision | |
| yellow.col | 2014年11月12日 revision | |
| Yellow.rgb | 2014年11月12日 revision | |
🌏 planet
A world map generating program, originally written by Torben Ægidius Mogensen. See the homepage and the interactive web version.
Compiling
cc -lm -O2 -o planet planet.c
License
Planet is available under a copyleft license (see LICENSE.txt). The license is non-standard and may change in future versions at the whim of the original author.
Acknowledgements
Torben thanks Jim Burrows for contributions to the code.