Skip to content

Javascript canvas renderer, it abstracts the boring parts and ease its use.

License

Notifications You must be signed in to change notification settings

inwebo/Render.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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