ClojureScript, WebWorkers & WebGL

Live demo. Binary STL mesh loading via WebWorker. The above mesh was generated with the voxel module of thi.ng/geom. The mesh contains ~240k triangles (filesize 11.2MB) and takes 6–8secs to parse. Without workers this would cause an unacceptable UI freeze for the same period…

Project configuration

Worker implementation

Main app

Compilation & post-processing

Future

--

--

--

Computational design, data, TypeScript, Clojure/script, C

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
thi.ng

thi.ng

Computational design, data, TypeScript, Clojure/script, C

More from Medium

Multiple node versions on a windows machine [latest version]

Cookies At The Edge: Not A Baking Blog Post

PageItems differences

Leader election in the browser with Ably