An open API service indexing awesome lists of open source software.

https://github.com/ncdev2015/threejs-full-screen

Full screen mode for the canvas by clicking a button
https://github.com/ncdev2015/threejs-full-screen

three-js typescript

Last synced: about 1 month ago
JSON representation

Full screen mode for the canvas by clicking a button

Awesome Lists containing this project

README

          

# 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](https://github.com/ncdev2015/threejs-full-screen/blob/main/public/1_c.png)

With full screen mode:

![3D Viewer](https://github.com/ncdev2015/threejs-full-screen/blob/main/public/2_c.png)