Awesome
Clojure/Clojurescript workshop
(WS-LDN-1)
This repo contains a subset of commented examples created during the workshop.
Day 1 namespaces
- day1.csv - CSV parsing & column extraction
- day1.people - EDN parsing & transformation
Airport dataset from: http://ourairports.com/data/
Day 2 namespaces
Clojure SVG airport visualization
- day2.mercator - Mercator projection
- day2.svgmap - SVG mercator map
47k airports mapped, data from ourairports.com
Github doesn't display the map background image, see original viz here...
Clojurescript, Reagent / React example
- ui.day2.core - basic Reagent concepts & undo demo
To launch:
lein figwheel day2
Day 3 namespaces
Clojure
- ui.day3.threedee - thi.ng/geom mesh examples
Exported meshes are located in assets folder.
Clojurescript
- ui.day3.core - thi.ng/geom vizualization examples (using Reagent)
To launch:
lein figwheel day3-viz
- ui.day3.webgl - thi.ng/geom WebGL & in-browser STL mesh export example
To launch:
lein figwheel day3-webgl
CLJS build w/ advanced optimizations
To build the CLJS examples with advanced optimizations, uncomment the lines with :optimizations
& :pretty-print
from the project.clj
file for the relevant build profile(s). Then compile the source with:
lein do clean, cljsbuild once <insert-build-profile-id>
License
Copyright © 2015 Karsten Schmidt
Distributed under the Apache Software License either version 1.0 or (at your option) any later version.