Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

build-threejs-app

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-threejs-app

A boilerplate/starter project for quickly building three.js app using Vite & Three.

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Three.js Boilerplate

A boilerplate/starter project for quickly building three.js app using Vite & Three.

Quick Start:

To create a project, simply run:

npx build-threejs-app <project-name>

Install the dependencies:

npm install

Run app in development:

npm run dev

Dependencies:

PackageVersion
vitevite version
threethree
eventsevents
vite-plugin-glslvite-plugin-glsl
gsapvite-plugin=glsl
dat.guivite-plugin=glsl

Project Structure:

public\
  |--models\          # Contain gltf models
  |--textures\        # Contain textures
src\
  |--constants\       # Contain environment variables and configuration related things
  |--helpers\         # Contain helper classes & functions
  |--scenes\          # Contain scenes & objects
  |--shaders\         # Contain shaders
  |--utils\           # Contain utility classes & functions
  |--Camera.js        # Handle cameras & controls
  |--Experience.js    # Handle experience & scenes
  |--Renderer.js      # Handle renderers
index.html            
main.js
style.css             # Custom styling

FAQs

Package last updated on 03 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc