             "You win!"
             (dom/button #js {:onClick #(set-grid-size! app grid-size)} "new game"))
 
+        result-gif
+          (dom/p nil
+            (dom/img #js {:src result-gif})
+            "You can save this gif and share it with the world."
+            (dom/button #js {:onClick #(om/update! app :result-gif nil)} "done"))
+
         show-about?
           (dom/div nil
             (dom/p nil


        (defonce resize-loop
          (let [resize-chan (chan)]
            (.addEventListener js/window "resize" #(put! resize-chan 0))
            (go-loop [open true]
              (when open (<! resize-chan))
              (let [throttle (timeout resize-ms)]

              ". For more experiments like this, visit "
              (dom/a #js {:href "http://oxism.com"} "oxism.com")
              \.
              (dom/button #js {:onClick #(om/update! app :show-about? false)} "got it")))))))


(om/root
