7 lines
333 B
TypeScript
7 lines
333 B
TypeScript
export const phoneViewport = { width: 390, height: 844 };
|
|
export const demoFrame = { width: 1280, height: 1080 };
|
|
export const phoneHeight = 1020;
|
|
export const phoneWidth = Math.round((phoneHeight * phoneViewport.width) / phoneViewport.height);
|
|
export const phoneLeft = demoFrame.width - phoneWidth - 36;
|
|
|
|
export const demoFps = 60;
|