Popularity
3.9
Declining
Activity
0.0
Stable
26
3
4

Monthly Downloads: 8
Programming language: Elixir
License: MIT License
Tags: Images    

chunky_svg alternatives and similar packages

Based on the "Images" category.
Alternatively, view chunky_svg alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of chunky_svg or a related project?

Add another 'Images' Package

README

Build Status Hex.pm

Chunky SVG

This library is inspired by the Ruby library "Chunky PNG".

It is meant as an experiment to play with the idea of representing expressing charts or visualizations in a higher-level language that renders down to SVG.

Project Status

This is a for-fun and for-learning project. It is not being used in any production systems that I am aware of.

What Can I Draw?

You can drawn any of the SVG primitives like this:

ChunkySVG.render([{:circle, %{cx: 50, cy: 50, r: 40}, nil}])

Which would generate this:

ChunkySVG also knows how to draw other things in terms of SVG primitives:

{:hexagon, %{cx: 50, cy: 50, r: 40}} {:pentagon, %{cx: 50, cy: 50, r: 40}} {:octagon, %{cx: 50, cy: 50, r: 40}}