Omnibus's picture
Upload 131 files
4ee4376
raw
history blame contribute delete
340 Bytes
import { resize } from './common';
export default (data, map) => {
let view = new Uint8Array(data);
let xval = [];
view.forEach((bits, i) => {
xval[i] = bits;
});
// resize data array from 64x64 to 128x128
xval = resize(xval, 64, 128);
xval.forEach((data, i) => {
map.cells[i]._segmentData.XVAL = xval[i];
});
};