[About macOS Ventura 13.0] (12/20/2022)
The currently released Live2D Cubism SDK is not guaranteed to work with macOS Ventura.
Please refrain from upgrading the macOS as they may not work properly.
The Cubism Editor license file may be lost after the macOS upgrade.
Please make sure to deactivate the Cubism Editor license before upgrading the macOS.
For more details
About the support for Mac models
Cubism Editor is not supported with Apple M1 processors.
Please refer to System Requirements
We will not respond to any related inquiries with this message.
Question - canvas size and scaling
How do I make the canvas fill the entire window width & height and keep the live2d model to it's original proportion?
I try adjusting
canvas.width = window.innerWidth
canvas.style.width = window.innerWidth + "px";
canvas.style.height= window.innerHeight+ "px";
The result keep coming out distorted.
I also don't understand this matrix:
var s = 2.0 / live2DModel.getCanvasWidth();
var matrix4x4 = [ s,0,0,0 , 0,-s,0,0 , 0,0,1,0 , -1.0,1,0,1 ];
Can someone please explain. Thank you in advance.