A suite to track Project Diva score statistics and ratings / D4DJ event data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
projectdivar/server/node_modules/clip-pixels
sigonasr2 0785506fad Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
..
.eslintrc.json Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
.travis.yml Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
index.js Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
package.json Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
readme.md Update and test twitter endpoints and connections. Prepare java spring server 4 years ago
test.js Update and test twitter endpoints and connections. Prepare java spring server 4 years ago

readme.md

Build Status

Slice rectangle from an array with pixels.

clip(arr, shape=[w, h?, channels=4], rect=[x, y?, w?, h?])

var clip = require('clip-pixels')

var pixels = [
0, 1, 0,
1, 1, 1,
0, 1, 0
]
pixels = clip(pixels, [3, 3, 1], [1, 0, 2, 3])

/*
1, 0,
1, 1,
1, 0
*/