This simple example uses React to draw a specified number of colorful circles at random positions, radii & colors. It demonstrates the use of settings in a React context.
template.yml
has settings for the number of circles and theme- In
src/App.jsx
an SVG is created with specified theme, drawing the specified number of circles with randomized positions, radii & colors
- Install Flourish and use
flourish run
to run the template - More info about publishing a template to Flourish can be found here