mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 10:49:59 +01:00
5 lines
130 B
JavaScript
5 lines
130 B
JavaScript
module.exports = function(x, y, value, pixels){
|
|
for(let i = 0; i < value.length; i++){
|
|
pixels.set(x, y, i, value[i]);
|
|
}
|
|
}; |