Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CiaranCostello/shapeServer
A haskell scotty server using blaze-html and blaze-svg. Displays shapes defined by the user in a DSL using the blazingly fast svg combinator library.
https://github.com/CiaranCostello/shapeServer
Last synced: 11 days ago
JSON representation
A haskell scotty server using blaze-html and blaze-svg. Displays shapes defined by the user in a DSL using the blazingly fast svg combinator library.
- Host: GitHub
- URL: https://github.com/CiaranCostello/shapeServer
- Owner: CiaranCostello
- License: bsd-3-clause
- Created: 2016-11-16T13:22:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-22T14:48:25.000Z (almost 8 years ago)
- Last Synced: 2024-08-02T05:12:25.015Z (3 months ago)
- Language: Haskell
- Homepage:
- Size: 3.81 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - shapeServer - A haskell scotty server using blaze-html and blaze-svg. Displays shapes defined by the user in a DSL using the blazingly fast svg combinator library. (Haskell)
README
# Shape Server
> A haskell scotty server using blaze-html and blaze-svg. Displays shapes defined by the user in a DSL using the blazingly fast svg combinator library.
## Shape Server example
```
stack build
stack ghci
main
Setting phasers to stun... (port 3000) (ctrl-c to quit)
```
## DSL example
```
[(Scale 2.5 0.5 :+: Translate 1 2, Circle, (Style 1 Red Blue)), (Scale 2 1 :+: (Translate 1 0 :+: Rotate 5), Square, (Style 1 Blue Red))]
```