$ stack setup && stack build
$ stack exec shape-server
You will be able to access the server at http://localhost:3000
Some example JSON data has already been provided on the main page to get started. The following is a list of all supported data
square
circle
translate
with parametersx
andy
scale
with parametersx
andy
rotate
with parameterangle
skewX
with parameterangle
skewY
with parameterangle
white
silver
gray
black
red
maroon
yellow
olive
lime
green
aqua
teal
blue
navy
fuchsia
purple
- Custom hex colours of the form
#d8d836
etc.
strokeWidth
which takes a numberstroke
which takes a colour stringfill
which takes a colour string