shadowed

Dead simple shadow casting computation.

Usage no npm install needed!

<script type="module">
  import shadowed from 'https://cdn.skypack.dev/shadowed';
</script>

README

shadowed

Dead simple shadow casting computation.

Demo here

License Library minified size Library minified + gzipped size

screenshot

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install shadowed --save

# For Yarn, use the command below.
yarn add shadowed

Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/shadowed"></script>

<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/shadowed"></script>

<script>
  // UMD module is exposed through the "shadowed" global variable.
  console.log(shadowed);
</script>

Documentation

Documentation generated from source files by Typedoc.

Demo

Checkout this repository then run:

npm run demo

License

Released under MIT License.