ncdev2015 / threejs-full-screen

Full screen mode for the canvas by clicking a button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threejs-full-screen

This example shows you how to get a full screen mode window from the canvas content by clicking a button

Requirements

  • Nodejs v18+
  • Vite
  • Three

Install

  • npm install

Run for development

  • npm run dev

Compile for production

  • npm run build

Examples

Before full screen mode:

3D Viewer

With full screen mode:

3D Viewer

About

Full screen mode for the canvas by clicking a button


Languages

Language:TypeScript 47.1%Language:CSS 42.9%Language:HTML 10.0%