
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
voxel-painter-core
Advanced tools
Work In Progress
Extracted from Voxel Painter by Max Ogden. The goal is to make it a base module decoupled from any DOM so it can be used anywhere, and in the future add a way to create add-ons to extend or add some features.
Install with npm
npm install voxel-painter-core --save
Use Browserify to bundle your code:
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
#voxel-painter {
height: 1000px;
}
</style>
</head>
<body>
<div id="voxel-painter"></div>
<script src="bundle.js"></script>
</body>
</html>
var voxelPainter = require('voxel-painter-core')
// Options
var options = {
container: '#voxel-painter'
}
var painter = voxelPainter(options)
For a working example check out the example directory.
Set the color of the painter
painter.setColor('#F15501')
To get the currently used color: painter.color()
painter.showGrid(boolean)
painter.setWireframe(boolean)
BSD
FAQs
Voxel Painter Core
We found that voxel-painter-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.