Skip to content

Commit d0dda9c

Browse files
committed
Fix PIL-based bitmap shape rotation now that larger Ys are up.
1 parent d43372b commit d0dda9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aturtle/shapes/bitmap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ def _rotated_pil(self, pil_image, around, step, total):
142142

143143
# PIL-based image rotation.
144144

145-
neg_theta = -360 * step / total
145+
theta = 360 * step / total
146146

147147
rotated_pil_image = pil_image.rotate(
148-
neg_theta,
148+
theta,
149149
resample=Image.BICUBIC,
150150
center=around,
151151
)

0 commit comments

Comments
 (0)