More image-making experiments in Elm

Image for post
Image for post
main =
S.svg
[ SA.width "1200", SA.height "1200" ]
[ (G.boundingRect graphData)
, square
, blueCircle
, redCircle
, rectangle1
, rectangle2
, yellowEllipse
, ETC.
]
source =
G.Rect 0.0 0.0 200.0 200.0
target =
G.Rect 60.0 60.0 500.0 500.0
graphData =
G.GraphData source target "#ffffff" "black"

Written by

jxxcarlson on elm slack, http://jxxcarlson.github.io

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store