Skip to content

Supports adding HTML elements to the canvas #65

@xiaoiver

Description

@xiaoiver

HTML elements are placed as sibling nodes of the <canvas>, so camera transformations must be synchronized. A viable solution is to introduce a camera container and apply the camera matrix to it:

<div id="camera" style="transform: matrix()"> <div id="html_1"></div> <div id="html_2"></div> </div>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions