Skip to content

QuakePhil/browser-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL Experiments

This project showcases various interactive WebGL modules, including:

... and more!

Running Locally

1. Using the Live Server Extension in VS Code

To launch this project with live reloading in Visual Studio Code:

  1. Open the project folder in VS Code.
  2. Install the Live Server extension from the Extensions Marketplace if you haven’t already.
  3. Right-click on index.html (or any HTML file you want to preview).
  4. Select "Open with Live Server".
  5. Your default browser should open at http://127.0.0.1:5500/ or a similar local address.

This allows you to develop and test as you go.

2. Running a Basic Server with Python or Node

If you'd prefer using the terminal, you can try:

Python 3

  1. Navigate to your project directory in terminal, then run:
python3 -m http.server
  1. This starts a server at http://localhost:8000 but you can adjust the port by appending one:
python3 -m http.server 8080

Node.js

  1. If you have Node.js installed, install the lightweight server:
npm install -g http-server
  1. Then, start the server with:
http-server

By default, it will serve the current directory at http://localhost:8080

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published