2 Drawing More Complicated Shapes
In Chapter 1, you learned about 2D primitives, including arcs, ellipses, lines, points, quads, rectangles, and triangles. However, some shapes, like hearts, stars, octagons, and Pikachu silhouettes, don’t fit into any such category and require more than shape functions to create.
In this chapter, you’ll learn how to draw more complicated shapes with points and curves, as well as vertex functions for laying points. Using these techniques, you’ll draw shapes that blend straight and curved lines, and you’ll create negative shapes by subtracting one shape from another.
You’ll also learn how to work with two ...
Get Learn Python Visually 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.