Coder Social home page Coder Social logo

sho1374k / toys-no.029_webglschool-task07-planegeometryanimation Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 4.0 7.14 MB

WebGLスクール課題07

Home Page: https://dev.shoya-kajita.com/029/

JavaScript 73.89% SCSS 12.56% GLSL 4.33% Astro 9.22%
glsl javascript webgl

toys-no.029_webglschool-task07-planegeometryanimation's Introduction

Toys.029 | WebGL School Task.07 ~ Plane geometry animation using pure WebGL.

🪬 ~ 要件

  • テクスチャを複数同時に利用する実装に挑戦してみましょう。 ※ 生 WebGL で実装すること

👾 ~ Demo

🎮 ~ Getting Started

// install
npm i

// development
npm run dev

// production
npm run build

// build preview
npm run preview

📝 ~ Note

matcap

// vec3 eye: the camera's current position.
// vec3 normal: the surface's normal vector.

vec2 matcap(vec3 eye, vec3 normal) {
  vec3 reflected = reflect(eye, normal);
  float m = 2.8284271247461903 * sqrt( reflected.z+1.0 );
  return reflected.xy / m + 0.5;
}

toys-no.029_webglschool-task07-planegeometryanimation's People

Contributors

sho1374k avatar

Stargazers

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

Watchers

 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.