Spaces:
Running
Running
// wgpu-config.js | |
export const config = { | |
glyphsAcrossTexture: 16, | |
glyphWidth: 32, | |
glyphHeight: 40, | |
maxGlyphs: 100, | |
vertsPerGlyph: 6, | |
floatsPerVertex: 8, | |
uniformBufferSize: 64, | |
canvas: { | |
width: 512, | |
height: 256 | |
}, | |
context: { | |
font: '32px monospace', | |
textBaseline: 'middle', | |
textAlign: 'center', | |
fillStyle: 'white' | |
}, | |
render: { | |
zNear: 0.001, | |
zFar: 50 | |
}, | |
time: { | |
phase: 0.001 | |
} | |
}; | |