starfield-webgl
v1.4.2
Published
WebGl version of starfield.
Downloads
4
Readme
Starfield WebGL
This is a WebGL version of jQuery Starfield, written in TypeScript (and without jQuery).
If you are interested in the "regular version" (which also doesn't need jQuery), look at the initial commit: b25c3dbcc
Usage
- npm i -s starfield-webgl
<script type="module"> import {runStarfield} from "starfield-webgl"; const options = { // see src/starfield.ts:6 for default }; (() => { runStarfield(options); })(); </script>
Development
Below are notes regarding development.
Requirements
- Node >= v12
- (Development only) Parcel (
npm i -g parcel
)
Usage
- Clone the repo
- Run
npm i
- Build:
npm run dev