Sdfx
A Signed Distance Field art tool built with Clojure, WebGL, and HTMX.
Install / Use
/learn @adam-james-v/SdfxREADME
SDFx
A Signed Distance Field art tool built with Clojure, WebGL, and HTMX.
Signed Distance Fields and the operations you can perform on them allow you to create complex and cool shapes which make for really cool art pieces; particularly if you can plot them with a pen plotter (I'm partial to AxiDraw). To that end, I've made this tool to make it fun and easy to build SDFs.
Getting Started
Since this is a tool for me, I'm not too fussed about distribution. However, it's actually pretty easy to get started.
Build from Source
If you're comfortable with Clojure, you can do the following:
git clone https://github.com/adam-james-v/sdfx.gitcd sdfxclojure -T:build uberwhich should build the uberjartarget/SDFx-0.0.1.jar- run SDFx with
java -jar target/SDFx-0.0.1.jar. This command will start the server and print the port it's using. - Head to
localhost:THE_PORT_SPECIFIEDand have fun!
Run the Jar
Otherwise, you can
- download the jar.
cdinto that directory and- run the build with
java -jar SDFx-0.0.1.jar. This will start the server and print the port it's using. - Head to
localhost:THE_PORT_SPECIFIEDand get creative!
