This is an animation project for exploring optical distortion effects using shadow-cljs and quil.
This command will start the dev process, which will start a nREPL, build the CLJS sources and recompile on every file change:
clj -M:shadow-cljs watch app
Note: The command npx shadow-cljs watch app
is used when using shadow-cljs for dependency management.
Application is available on port 8080
- Prepare run configuration to connect to REPL that was started by the watch command.
- When connected to the nREPL upgrade from CLJ REPL to CLJS REPL by sending
(shadow/repl :app)
- Error message
No available JS runtime.
-> Openlocalhost:8080
- The page needs to be open in the browser so the compiled JS code can be loaded by the browsers JS runtime. - Error message
The required JS dependency "react" is not available, it was required by ...
-> Install required react JS dependencies by runningnpm install react react-dom create-react-class