1.0.2 • Published 3 years ago

amos-three v1.0.2

Weekly downloads
8
License
MIT
Repository
-
Last release
3 years ago

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
  }
};
1.0.2

3 years ago

1.0.1

7 years ago

1.0.0

7 years ago