Dead simple shadow casting computation.
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
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 generated from source files by Typedoc.
Checkout this repository then run:
npm run demo
Released under MIT License.