Commits

Shlomi Fish committed 12953a6

No errors, but it does not do anything.

  • Participants
  • Parent commits adeacd7

Comments (0)

Files changed (1)

shlomif-racket-playground/squares-inside-squares.rkt

 (printf "~a~n" (+ 2 3))
 
 (for ([x (list 1 2 3 4 5 6 7 8 9 10)])
-  (rectangle 200 200)
   (let ((angle (degrees->radians 30)))
-    (rotate angle)
-    (scale (sqrt (+ (expt angle 2) (expt (- 1 angle) 2))))))
+    (scale (rotate (rectangle 200 200) angle) (sqrt (+ (expt angle 2) (expt (- 1 angle) 2))))))