chaos/scripts/index.js

12 lines
278 B
JavaScript

'use strict';
import { Fractal } from './fractal';
import * as React from 'react'; // eslint-disable-line no-unused-vars
import { render } from 'react-dom';
import { barnsley } from './ifs';
render(
<Fractal system={barnsley} />,
document.querySelector('#content')
);