Giter Site home page Giter Site logo

fazweb3 / react-fluid-animation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from transitive-bullshit/react-fluid-animation

0.0 0.0 0.0 15.69 MB

Fluid media animation for React powered by WebGL.

Home Page: https://transitive-bullshit.github.io/react-fluid-animation/

JavaScript 97.87% CSS 0.22% HTML 1.92%

react-fluid-animation's Introduction

react-fluid-animation (demo)

Fluid media simulation for React powered by WebGL.

NPM Build Status JavaScript Style Guide

Demo

This is a port of the WebGL fluid animation by Pavel Dobryakov, which itself is a port of GPU Gems Chapter 38. It provides a very fast, stable fluid simulation by iteratively solving the Navier-Stokes equations for incompressible flow.

Install

npm install --save react-fluid-animation

Usage

Check out the demo.

import React, { Component } from 'react'

import FluidAnimation from 'react-fluid-animation'

export default class App extends Component {
  render () {
    return (
      <FluidAnimation
        style={{ height: '100vh' }}
      />
    )
  }
}

Props

TODO

Credits

  • Pavel Dobryakov - Original WebGL fluid experiment by Pavel Dobryakov. This project is a direct port and extension of Pavel's excellent work.
  • GPU Gems Chapter 38 - Fast fluid dynamics simulation on the GPU.
  • jwagner - Similar WebGL implementation.
  • haxiomic - Alternative WebGL fluid experiment.

License

MIT © Travis Fischer

Support my OSS work by following me on twitter twitter

react-fluid-animation's People

Contributors

transitive-bullshit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.