Getting ready

You will need to place the Map.png file (available in the book resource files) in the pi3d/textures directory of the pi3d library. Alternatively, you can use one of the elevation maps already present—replace the reference to Map.png with another one of the elevation maps, such as testislands.jpg.

Get Raspberry Pi 3 Cookbook for Python Programmers - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.