amos-three

1.0.2 • Public • Published

amos-three

create this for own demo

just use npm

    1. npm install --save amos-three
    1. create element with id 'app'
    1. const _amosThree = require('amos-three');
    1. create index.js
  function render(){
      _amosThree.initWaves(document.getElementById('app'));// opts
      enableAnimate();
    }
    1. render();

opts is like this

 {
  spriteCanvasMaterial:{
    color: 0x588c47
  },
  canvasRenderer:{
    alpha: true,
    clearColor: 0x1a1a1a,
    clearColorAlpha: 0
  }
};

Dependencies (0)

    Dev Dependencies (20)

    Package Sidebar

    Install

    npm i amos-three

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    1.06 MB

    Total Files

    8

    Last publish

    Collaborators

    • ilex.h