From IT Skills
Jump to: navigation, search

window.devicePixelRatio bad support

how to scale[edit | edit source]

how to scale images[edit | edit source]

3 Ways to Resize/Scale Web Images

how to scale canvas[edit | edit source]

Three.js[edit | edit source]

Three.js sadly, by default sets the CSS size of whatever canvas it's managing. Basically it's fighting against the HTML platform instead of embracing it... ThreeJS renders to a <canvas> element. You can't render directly to a