Super simple javascript canvas renderer, it abstracts the boring parts.
git clone https://github.com/inwebo/Render.js.git
yarn add @inwebo/render.js
npm install @inwebo/render.js
- RendererAbstract You MUST NOT instance it directly.
- Renderer2D The main Renderer.
<script src="dist/renderer.min.js"></script>
You should really consider using it like an ES6 module
import Renderer2D from "@inwebo/render";
Now the class Renderer2D is available.
You must have one or more html canvas elements available.
<canvas id="layer-0"></canvas>
<!-- n-canvas -->
<canvas id="layer-n"></canvas>