JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q40938F
  • License GPL-3.0

Super simple javascript canvas renderer, it abstracts the boring parts.

Package Exports

  • @inwebo/render.js
  • @inwebo/render.js/src/Renderer2D
  • @inwebo/render.js/src/Renderer2D.js
  • @inwebo/render.js/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@inwebo/render.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Render.js

Render.js activity by Inwebo veritas Render.js repository size by Inwebo veritas Render.js version size by Inwebo veritas Render.js last activity by Inwebo veritas

Super simple javascript canvas renderer, it abstracts the boring parts.

Installations

Github

git clone https://github.com/inwebo/Render.js.git

Yarn

yarn add @inwebo/render.js

NPM

npm install @inwebo/render.js

Classes

Plain javascript

<script src="dist/renderer.min.js"></script>

ES6

You should really consider using it like an ES6 module

import Renderer2D from "@inwebo/render";

Now the class Renderer2D is available.

Use case

You must have one or more html canvas elements available.

<canvas id="layer-0"></canvas>
<!-- n-canvas  -->
<canvas id="layer-n"></canvas>

Tips and tricks

Web