DEV Community

Discussion on: A Generative SVG Starter Kit

Collapse
 
blindfish3 profile image
Ben Calder

Since it's a slow rainy day I decided to finally try this with React; so here's a simple demo: codepen.io/blindfish3/pen/LYbaNrw

No major issues implementing this; other than having to use <g> as a wrapper on some output. From what I remember that was also required in all components on Angular - as well as some additional configuration (I'll have to look that up later).

Of the three libraries I've now tried this approach with, Svelte is definitely the easiest to use with SVGs.

Collapse
 
georgedoescode profile image
George Francis

Awesome! I love this approach, too. I have used Vue a few times to do generative art stuff. It's a lovely way of working. I really appreciate you taking the time to make a demo, too! I'll have to check out Svelte...