Animate a fractal tree with React
index.js
FractalHelpers.js
FractalTree.js
index.html
README.md
index.js
import React from 'react'
import ReactDOM from 'react-dom'
import { FractalTree } from './FractalTree'

function FractalTreeFrame() {
  return (
    <FractalTree
      lean={-0.1}
      size={100}
      sprout={0.3}
    />
  )
}

function renderFrame(props) {
  ReactDOM.render(
    <FractalTreeFrame />,
    document.getElementById('root')
  )
}

renderFrame()