Code Monkey home page Code Monkey logo

intro-to-shaders's Introduction

Intro To Shaders sketch manager

Offscreen Logo Subscribe Badge Offscreen Logo

Sketches in the repo

Sketch management setup for ThreeJS Made for "Intro to shaders" email course.

In src/sketches there is one glsl file per lesson, this is where you code.

And in src/lessons-final-sketches there is the final result of all the lessons for reference.

Follow along with the email course signup!

If you are interested about learning or exploring shaders, 3d, or creative coding, check out my weekly newsletter. We've got new resources/demos/articles each week.

Offscreen Canvas

Installing & Running

yarn install
yarn dev

OR

npm install
npm run dev
  1. Create a new sketch in the sketch file. (if not using the existing)
  2. Done. Create your fullscreen fragment shader!

Files && comments

file Description
sketches/*.glsl Any file.glsl inside sketches is considered an sketch. Indexes are optional but recomended
lessons-final-sketches/*.glsl Final result of all the lessons in the course. These files are not used as actual sketches
demo.js The meat of the demo
rendering.js All the threeJS rendering
utils.js Functions manage the sketch setup.

Controls

keybind Description
ArrowLeft/ArrowRight Change between sketches

Details

  • Uses ThreeJS RawShader to avoid incorrect line numbers on errors. So, automatic shader stuff is not added

License

This resource can be used freely if integrated or build upon in personal or commercial projects such as websites, web apps and web templates intended for sale. It is not allowed to take the resource "as-is" and sell it, redistribute, re-publish it, or sell "pluginized" versions of it. Free plugins built using this resource should have a visible mention and link to the original work. Always consider the licenses of all included libraries, scripts and images used.

Social

Made for Offscreen Canvas By Daniel Velasquez @Anemolito

Twitter - Portfolio - Github - Offscreen Canvas

intro-to-shaders's People

Contributors

anemolo 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.