   (proxy [JPanel] []
     (paintComponent [g]
       (proxy-super paintComponent g)
-      ;(System/gc)
+      (System/gc)
       (time (render g (. this getWidth) (. this getHeight))))))
 
 (doto

  (.setSize 640 400)
  (.setVisible true))

;;;

; TODO Graphics2D g2 = (Graphics2D) g; g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON)
(defn sin [n] (Math/sin n))
(defn acos [n] (Math/acos n))

; http://www.wolframalpha.com/input/?i=internal+angles+3+4+5+triangle
; http://www.wolframalpha.com/input/?i=cos%5E-1%284%2F5%29

(acos (/ 4 5)) ; radians 0.6435011087932843
(acos (/ 3 5)) ; radians 0.9272952180016123

(* (acos (/ 4 5)) (/ 180 pi)) ; degrees 36.86989764584401
(* (acos (/ 3 5)) (/ 180 pi)) ; degrees 53.13010235415599


;;; Heavily Inspired by https://github.com/johnlawrenceaspden/hobby-code/blob/master/fractaltree-stuart-halloway.clj

(import javax.swing.JFrame)
(import javax.swing.JPanel)
