Skip to Content
Make: Geometry
book

Make: Geometry

by Joan Horvath, Rich Cameron
July 2021
Intermediate to advanced
312 pages
11h 24m
English
Make: Community
Content preview from Make: Geometry
MAKING FOUR
WALLS
We could just duplicate
this code four times
and do the appropriate
translating and rotating
for each one, but that
would leave us with a
lot of redundant code. It
would also mean that if
we want to make further
changes, like adding
windows, we would have
to be sure to add four
copies of that code, and keep them consistent with one another.
Instead, we will put the whole object inside yet another loop. To prepare our wall plus tower to rotate,
first we will translate this entire collective object (wall plus crenellations plus tower) away from the
center by wall/2 in the x and y directions. For x, we’ll need to move in the negati ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Digital Geometry

Digital Geometry

Reinhard Klette, Azriel Rosenfeld
Transformational Plane Geometry

Transformational Plane Geometry

Ronald N. Umble, Zhigang Han
Classical Geometry: Euclidean, Transformational, Inversive, and Projective

Classical Geometry: Euclidean, Transformational, Inversive, and Projective

I. E. Leonard, J. E. Lewis, A. C. F. Liu, G. W. Tokarsky

Publisher Resources

ISBN: 9781680456707Errata Page