At My Fingertips
Let's create a Monument Valley-like drawing in isometric projection. This could be useful for creating isometric video game graphics.
We will compose the isometric drawing from equilateral triangles. So, let's first implement a function to easily create an equilateral triangle:
We compose the drawing from a bunch of towers, or bars.
Each bar is composed of a bunch of triangle-pairs stacked on top of each other.
Now implement the rest. This takes quite a bit of work. Here is a very rough sketch of how it could be done.
This activity has been created by LuCE Research Lab and is licensed under CC BY-SA 4.0.
Isometric Bars
PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI
Privacy Policy • Platform Version c3a8286 (Mon, 14 Oct 2024 13:30:28 GMT)