Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A basic walk cycle for voxel.js
branch: master

Added license file

Good luck with the metaverse, @deathcap, it's looking good!

Fixes #4
latest commit fc4ca7b0d6
Dan Finlay authored

npm install voxel-walk --save Spreading the good word. Using --save updates your package.json automatically.

A simple walk cycle animation for minecraft-skin characters (used in Voxel.js), using code ripped directly out of Daniel Hede's "Minecraft Items", the same project that birthed the minecraft-skin module.

Run this example.

var walk = require('voxel-walk')

In your render loop you pass it a minecraft-skin object for each tick (npm minecraft-skin). For example, if you hav a minecraft-skin named duck:

var render = function () {

When called, the walk function automatically detects the velocity of the skin, and eases the stride to an appropriate magnitude.

If you want to run the demo, just run:

//If you don't have browserify installed:
npm install browserify -g

browserify demo.js -o bundle.js

//If you don't have http-server installed:
npm install http-server -g

Something went wrong with that request. Please try again.