th0ma5w / ws-ldn-1

Clojure/Clojurescript workshop (2-4 Nov 2015, London)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clojure/Clojurescript workshop

(WS-LDN-1)

This repo contains a subset of commented examples created during the workshop.

Day 1 namespaces

Airport dataset from: http://ourairports.com/data/

Day 2 namespaces

Clojure SVG airport visualization

47k airports

47k airports mapped, data from ourairports.com

Github doesn't display the map background image, see original viz here...

Clojurescript, Reagent / React example

To launch:

lein figwheel day2

Day 3 namespaces

Clojure

Exported meshes are located in assets folder.

Clojurescript

  • ui.day3.core - thi.ng/geom vizualization examples (using Reagent)

To launch:

lein figwheel day3-viz

heatmap example

Live demo

  • ui.day3.webgl - thi.ng/geom WebGL & in-browser STL mesh export example

To launch:

lein figwheel day3-webgl

webgl example

Live demo

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.

About

Clojure/Clojurescript workshop (2-4 Nov 2015, London)

License:Apache License 2.0


Languages

Language:Clojure 99.1%Language:HTML 0.9%