Daily Creative Coding

元「30 min. Processing」。毎日、Creative Codingします。

2017-04-29から1日間の記事一覧

【GLSL】回転するボックス

See the Pen a rotating box by aadebdeb (@aadebdeb) on CodePen. #define PI 3.14159265359 #define TWO_PI PI * 2.0 precision mediump float; uniform float u_time; uniform vec2 u_mouse; uniform vec2 u_resolution; vec3 rotateX(vec3 p, float thet…