Comment

Comment by geokon

that still needs to call JS though... It's not like they rewrote the renderer in Clojure

A simpler and easy to grok alternative with minimal dependencies is thing-geom

https://github.com/thi-ng/geom/blob/master/geom-viz/src/core...

You just declare what you want drawn and you get back an svg tree which you can either modify further or transform to xml to get an actual .svg format string

It's very unopinionated and can be easily inserted in both Clojure and Clojurescript applications. You can render with the browser, webview, batik, svgsalamander or I even quickly wrote a converter to Javafx bc I have the svg tree I can directly traverse

parent geokon 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton