Skip to content

rvalentini/distortion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distortion animation

This is an animation project for exploring optical distortion effects using shadow-cljs and quil.

Usage

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

IntelliJ specific setup

Dependencies via pom.xml

  1. Prepare run configuration to connect to REPL that was started by the watch command.
  2. When connected to the nREPL upgrade from CLJ REPL to CLJS REPL by sending
(shadow/repl :app)

Troubleshooting

  • Error message No available JS runtime.
    -> Open localhost: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 running npm install react react-dom create-react-class

About

Exploring optical distortion through animation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published