Coder Social home page Coder Social logo

jagracar / webgl-shader-examples Goto Github PK

View Code? Open in Web Editor NEW
167.0 2.0 26.0 3.25 MB

Some simple examples of WebGL shaders

Home Page: https://webgl-shaders.com

License: GNU Lesser General Public License v3.0

JavaScript 77.04% GLSL 9.49% HTML 11.55% CSS 1.92%
webgl website shaders examples css html javascript

webgl-shader-examples's Introduction

WebGL shader examples

Some simple examples of WebGL shaders. They can be seen live at webgl-shaders.com.

Build the project

Install Node.js (for Ubuntu):

sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs

Install grunt, glslify and budo globally:

sudo npm install -g grunt-cli
sudo npm install -g glslify
sudo npm install -g budo

Download the git repository and install the dependencies:

git clone https://github.com/jagracar/webgl-shader-examples.git
cd webgl-shader-examples
npm install

Build the project:

grunt

Run budo:

budo --dir WebContent/ --live

Then open http://localhost:9966/ to test the examples.

webgl-shader-examples's People

Contributors

jagracar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

webgl-shader-examples's Issues

Installation of ruby and sass needed, but not documented

$ grunt
....
Warning: 
You need to have Ruby and Sass installed and in your PATH for this task to work.
More info: https://github.com/gruntjs/grunt-contrib-sass
 Use --force to continue.

Aborted due to warnings.
$

After sudo apt install of ruby and sass in 64bit Raspberry Pi OS (based on debian) all works.

can not run on fedora system

I followed your guide.
But when I run grunt . It turn out a error:
Error: Cannot find module 'glslify-bundle'

And the command 'npm install -g glslify-bundle' didn't help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.