ros3djs
ros3djs copied to clipboard
Add canvas as option when initialize Viewer
Motivation: give more flexibility to the user, prerequisite for web worker integration. If user can pass canvas as the option to Viewer, then the user can take advantage of OffscreenCanvas to render visualization in web worker that can improve performance.
Feel free to create a PR with this feature. I don't have the time to create this feature based on only one request.
@MatthijsBurgh Hi there. Would you have time to help me review this PR? Thanks!