Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (17 loc) · 563 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 563 Bytes

svg-demo

image

Setup

First install leiningen, then

git clone [email protected]:AKST/svg-demo.git
cd svg-demo
lein deps
lein figwheel

A clojure repl will appear, run (in-ns 'svg-thing.core) to go into the appropiate namespace, then you can change the light and temperature like so.

(swap! app-state assoc-in [:light :explict] 0)
(swap! app-state assoc-in [:light :explict] 100)
(swap! app-state assoc-in [:temp :explict] 20)
(swap! app-state assoc-in [:temp :explict] 60)