< Back

# trianglify-api

A few days ago I’ve come around a quite nice javascript library which generates random pattern SVGs consisting of triangles. It’s called Trianglify.

The result may look kind of like this:

I’ve rendered a SVG file as PNG as you can see.

Of course, those images are ideal for using them as backgrounds or placeholders. Somehow I felt the need of writing an API for that, so you can autmatize the process of generating those SVGs and automatically convert them to PNG

You can try it out at Heroku:

http://trianglify-api.herokuapp.com/image.svg

or

http://trianglify-api.herokuapp.com/image.png

and feel free to fork and contribute!

Cheers!

Impressum • Mastodon