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

thi-ng/ws-ldn-1

Repository files navigation

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.