Git Product home page Git Product logo

shader-school's Introduction

Shader School

NPM NPM

An introduction to GLSL shaders and graphics programming that runs in your web browser.

shader-school

Running this thing

First, you need to get a browser with WebGL, as well as a copy of node.js and git. Once you have all of that set up, you can install the workshop using npm, which is included with node:

npm install -g shader-school

After that completes, you should be able to run the workshopper with the command:

shader-school

The script will ask you if you want to create an answer directory, press y to accept. This will populate your current directory with shader files for you to edit for each lesson โ€“ hopefully, it should also automatically open your web browser but if it doesn't you can find the workshop menu on http://localhost:12492/.

Stuck?

Feedback and criticism is welcome, please log your troubles in issues. The workshop is still being worked on but is very close to being complete!

Full curriculum reviews like this one are very helpful. More feedback like this please!

Contributors

Mikola LysenkoGitHub/mikolalysenkoTwitter/@mikolalysenko
Hugh KennedyGitHub/hughskTwitter/@hughskennedy
Chris DickinsonGitHub/chrisdickinsonTwitter/@isntitvacant

Color Scheme

color scheme

From left to right:

  • #34363B vec3(0.2039, 0.2117, 0.2313) (black)
  • #A9B0C3 vec3(0.5372, 0.6901, 0.7647) (dark grey)
  • #DEE7FF vec3(0.8705, 0.9058, 1.0) (light grey)
  • #FFFFFF vec3(1.0, 1.0, 1.0) (white)
  • #58FF8B vec3(0.3451, 1.0, 0.5450) (green)
  • #FF6E57 vec3(1.0, 0.4313, 0.3411) (red)
  • #FFE25F vec3(1.0, 0.8862, 0.3725) (yellow)
  • #61C3FF vec3(0.3804, 0.7647, 1.0) (blue)

Screenshots

screenshot

screenshot

screenshot

screenshot

screenshot

shader-school's People

Contributors

acerix avatar chrisdickinson avatar dannyfritz avatar dy-dx avatar geek avatar hamoid avatar hapticdata avatar hughsk avatar liamgriffiths avatar mdda avatar mikolalysenko avatar tmpvar avatar yoshuawuyts avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.