/react-webgl-fluid-sim

Implements the WebGL-Fluid-Simulation as a reusable React component

Primary LanguageTypeScriptMIT LicenseMIT

react-webgl-fluid-sim

Implements the WebGL-Fluid-Simulation by PavelDoGreat as a reusable React component

NPM JavaScript Style Guide

Install

npm install --save react-webgl-fluid-sim

Usage

import React, { Component } from 'react'

import WebGLFluidSim from 'react-webgl-fluid-sim'
import 'react-webgl-fluid-sim/dist/index.css'

class Example extends Component {
  render() {
    return <WebGLFluidSim fixed />
  }
}

License

MIT © NoodleOfDeath