Rune.Pixels.js
A plugin to allow access to pixel color values in Rune.js.
Using in the browser
First download the latest release. Then include the rune.pixels.js
file after your rune.js
file in your HTML file.
<head>
<script src="rune.js"></script>
<script src="rune.pixels.js"></script>
</head>
Using in node
npm install rune.pixels.js
Then require the rune.pixels.js
module in your code, along with your rune.js
module (if needed).
var Rune = require('rune.js');
var Pixels = require('rune.pixels.js');
Examples
Look at the Transformation section in the Rune.js examples.