1.0.0 • Published 3 years ago

universe-bg v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

universe-bg

a simple universe bg plugin build with three.js

demo

http://html5beta.com/apps/universe-bg/

install

npm i universe-bg

Use

import UniverseBg from 'universe-bg'

const inst = new UniverseBg({
  id: ''
  className:  '',
  starSize: 0.1,
  shootingStarSize: 0.2,
  starCount: 10000,
  shootingStarCount: 30,
  starDistance: 100,
  shootingStarDistance: 50,
  starColor: 0xffffff,
  shootingStarColor: 0xffffff,
  bgColor: 0x000000
})

Could use cdn

<script src='//www.unpkg.com/three@0.155.0/build/three.min.js'></script>
<script src='//unpkg.com/universe-bg/dist/universe-bg.min.js'></script>

LICENCE

MIT

1.0.0

3 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.0

10 years ago

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.11

11 years ago

0.0.8

11 years ago

0.0.6

11 years ago