https://github.com/tangrams/glsl-live-editor
GLSL live editor based on Codemirror
https://github.com/tangrams/glsl-live-editor
Last synced: 12 months ago
JSON representation
GLSL live editor based on Codemirror
- Host: GitHub
- URL: https://github.com/tangrams/glsl-live-editor
- Owner: tangrams
- License: mit
- Created: 2015-02-18T15:51:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-10T14:37:44.000Z (over 11 years ago)
- Last Synced: 2025-06-06T15:07:13.094Z (about 1 year ago)
- Language: JavaScript
- Size: 33.1 MB
- Stars: 19
- Watchers: 10
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to install this repo on your local machine?
* Clone this repository locally and run a Python HTTP Server.
```
git clone https://github.com/tangrams/GLSL-live-editor
cd GLSL-live-editor
python -m SimpleHTTPServer 8000
```
Note: in case you have Python 3.x as your default version you should use ```python -m http.server 8000``` instead.
* Then open your web browser to [http://localhost:8000/](http://localhost:8000).
# How to use it?
# Examples
[```http://localhost:8000/#glsl/pLight-envmap.frag```](index.html#glsl/pLight-envmap.frag)
[```http://localhost:8000/#glsl/pLight-normalmap.frag&imgs/normal-0001.jpg```](index.html#glsl/pLight-normalmap.frag&imgs/normal-0001.jpg)