A fire flame library.
npm install @9am/fire-flame-react---
npm install @9am/fire-flame |  |npm install @9am/fire-flame-element |  |npm install @9am/fire-flame-react |  |#### @9am/fire-flame
``js
import { FireFlame } from '@9am/fire-flame';
const ff = new FireFlame(document.querySelector('#container'), { / option / });
`
#### @9am/fire-flame-element
`js
import '@9am/fire-flame-element';
// HTML
`
#### @9am/fire-flame-react
`js
import { FireFlame } from '@9am/fire-flame-react';
// JSX
`
| Name | Type | Default | Description |
| ---- | ---- | ------- | ----------- |
|painter|'canvas' \| 'svg'|'canvas'|the renderer for fire flame|w
||number|400|width|h
||number|400|height|x
||number|0|position x|y
||number|0|position y|mousemove
||boolean|true|enable mousemove|fps
||number|60|render fps|wind
||Vector|new Vector({ x: 0, y: -0.8 })|the Vector force applied to particles|friction
||number|0.98|the friction applied to particles|particleNum
||number|15|the number of particle to draw the flame|particleDistance
||number|10|the distance between particles|particleFPS
||number|10|particle spawn fps|sizeCurveFn
||function|innerColor() => x > 0.7
|define the size of the flame|
? Math.sqrt(1 - x) 50
: Math.pow(x - 1, 2) -30 + 30
||string|'blue'|flame color inner|outerColor
||string|'blueviolet'|flame color outer|
#### .start()
Start fire flame.
#### .stop()
Stop fire flame.
#### .setOption(option)
Update fire flame options.
#### .destroy()`
Destroy fire flame.