       :nothing)))
 
 (defn applet-disposed
-  "This function is called when PApplet executes 'dispose' method.
-  It means we can dispose frame, call on-close function and perform other
-  clean ups."
+  "This function is called when `PApplet` executes `dispose` method. It means we
+  can dispose the frame, call the `on-close` function and perform other
+  cleanups."
   [applet]
   (with-applet applet
     ((:on-close (meta applet))))


(defn applet
  "Create and start a new visualisation applet. All options used
  here should be documented in 'defsketch' docstring."
  [& opts]
  (let [options (apply hash-map opts)


  (.state this))

(defn -settings
  "Overriding `PApplet.settings()` to set size."
  [this]
  (let [{:keys [renderer size output-file settings-fn]} (meta this)
        renderer (resolve-renderer renderer)
