plasma-arc / config.js
p3nGu1nZz's picture
refactor config
551d60d
raw
history blame
506 Bytes
// 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
}
};