Skip to content

mvc-works/calcit-threejs-workflow

Repository files navigation

Calcit three.js Workflow

Personal project template based on ClojureScript, Respo, shadow-cljs, Cirru.

Usage

Make sure you have Node.js and JVM installed. Then install dependencies:

yarn

yarn repl # to start shadow-cljs Clojure REPL

All build script are running in

(require '[build.main :as b])

(b/watch) ; to start watch server
(b/html) ; to generate target/index.html file
(b/build-local) ; to build release bundles, with local assets links
(b/build) ; to build release bundles, with assets link to CDN
(b/upload) ; to upload assets to my server

Edit Clojure with calcit-editor:

npm i -g calcit-editor
calcit-editor # watching server...

op=compile calcit-editor # generate code.

Assets

Teapot file https://graphics.stanford.edu/courses/cs148-10-summer/as3/code/as3/teapot.obj

Tree file https://www.turbosquid.com/FullPreview/Index.cfm/ID/582052

Workflow

https://github.com/mvc-works/calcit-threejs-workflow

Might be useful https://threejs.org/docs/#examples/controls/OrbitControls

License

MIT

About

Template for threejs projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published