https://github.com/scarycoffee/ebiten-camera uses ebiten.WindowSize to create the image but WindowsSize only works on desktop, so it returns nil (i.e. 0, 0), which when passed to EbitenNewImage causes a panic because it needs the image size to be greater than zero. Ebiten-camera was apparently not intended for mobile or web, I don't feel like continuing my previous camera attempt, i'll probably have to copy and adapt ebiten-camera.
https://github.com/scarycoffee/ebiten-camera uses ebiten.WindowSize to create the image but WindowsSize only works on desktop, so it returns nil (i.e. 0, 0), which when passed to EbitenNewImage causes a panic because it needs the image size to be greater than zero. Ebiten-camera was apparently not intended for mobile or web, I don't feel like continuing my previous camera attempt, i'll probably have to copy and adapt ebiten-camera.