This is a story of how I modified my project to support high DPI devices. There was surprisingly little information available on how to do this with these technologies so I thought I would write up my experiences.

I’m working on a project that involves rendering a WebGL canvas in the browser. My code is written in C++ and uses GLFW for interacting with OpenGL. It is then compiled to WebAssembly (wasm) using emscripten so it can run in the browser.

I was delighted at how easy it was to create the app with these technologies, however I was disheartened…



Charlie Crisp

I’m a Software Engineer working in Modelling and Simulation. I’m interested in performance, networking and distributed systems — www.charliecrisp.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store