Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paramander/elm-hexagon
https://github.com/paramander/elm-hexagon
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/paramander/elm-hexagon
- Owner: paramander
- Created: 2016-07-05T19:52:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-06T07:13:59.000Z (over 8 years ago)
- Last Synced: 2024-11-08T09:14:24.704Z (3 months ago)
- Language: Elm
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elm-hexagon
Create svg hexagons with rounded corners in Elm.
Example:
```
main : Svg msg
main =
svg [ viewBox "0 0 500 500", height "500", width "500" ]
[ svgHexagon [fill "#000000"] <| hex (p 250 250) 15 125
]
```