Svelte Gl Boxes screenshot

Svelte Gl Boxes

Author Avatar Theme by Rich harris
Updated: 30 Nov 2019
75 Stars

a quick Svelte GL demo

Overview:

Svelte-gl-boxes is a quick demo created for a Twitter thread. It allows users to create and manipulate 3D boxes using Svelte and WebGL. The demo can be accessed through the provided link or run locally by cloning the repository and following the given instructions.

Features:

The key features of Svelte-gl-boxes include:

  • Create 3D boxes: Users can easily create 3D boxes by specifying the dimensions and position.
  • Manipulate boxes: Users can manipulate the created boxes by rotating, scaling, or translating them.
  • Real-time updates: Any changes made to the boxes are instantly reflected in the 3D scene.

Installation:

To install and run Svelte-gl-boxes locally, follow these steps:

  1. Clone the repository using the command:
git clone [repository_url]
  1. Navigate to the cloned repository:
cd svelte-gl-boxes
  1. Install the required dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open a web browser and go to localhost:5000 to access the demo.

Summary:

Svelte-gl-boxes is a demo application that allows users to create and manipulate 3D boxes using Svelte and WebGL. With its intuitive interface and real-time updates, users can easily experiment and play around with different box dimensions and positions. By following the provided installation guide, users can also run the demo locally and explore its features in their own development environment.