svg-clj icon indicating copy to clipboard operation
svg-clj copied to clipboard

svg-clj with goldly-docs

Open masterbuilder99 opened this issue 3 years ago • 1 comments

Hi Adam!

I made goldly; you can send clj vizualisations quickly to the browser, and generate dynamic websites with it: https://github.com/pink-gorilla/goldly Daniel Slutzsy knows how to use it, in case the docs are not good enough.

And then I made trateg, a financial market backtesting system. And here I use goldly together with svg-clj. https://github.com/clojure-quant/trateg/blob/master/profiles/demo/src/demo/lib/svg.clj https://github.com/clojure-quant/trateg/blob/master/profiles/demo/src/demo/lib/gann_plot.clj https://github.com/clojure-quant/trateg/blob/master/profiles/demo/src/demo/lib/gann.clj

This is the output of:

  (show!
   (get-gann-spec
    :crypto
    "BTCUSD"
    (zoom-in boxes/btc-box)
    (parse-date "2020-01-01")
    (parse-date "2021-12-31")))

Screenshot_2021-11-06_15-17-06

Its just an svg file. Anyhow. If you are interested, I think that your library could be made much more interactive by using goldly. I am going to do a demo where I generate svgs on the fly in clojure and serve them via an api call (that can be done with just one function call in goldly).

Perhaps this is of interest to you. Just wanted to let you know.

masterbuilder99 avatar Nov 06 '21 14:11 masterbuilder99

Just letting you know that I've read and seen this. Thanks for posting this here! Glad you're using svg-clj a bit. Interactivity is always exciting to see, and I'll give goldly a look :)

adam-james-v avatar Dec 09 '21 21:12 adam-james-v