Buscamos que durante las clases este sea un espacio de contención, de respeto y libre de acoso para todes En fin de poder crear un ambiente distendido, de aprendizaje y seguro.
Actualmente organizamos:
Buscamos que durante las clases este sea un espacio de contención, de respeto y libre de acoso para todes En fin de poder crear un ambiente distendido, de aprendizaje y seguro.
Actualmente organizamos:
| // Kosh snowflake | |
| const int iterations = 5; | |
| float scale = 3.; | |
| float reflection(inout vec2 pos, float angle){ | |
| vec2 normal = vec2(sin(angle),cos(angle)); | |
| float d = dot(pos, normal); | |
| // Drawing Koch Curve - k-iterations | |
| const int iterations = 7; | |
| float scale = 3.; | |
| void reflection(inout vec2 pos, float angle){ | |
| vec2 normal = vec2(sin(angle),cos(angle)); | |
| float d = dot(pos, normal); | |
| pos -= normal*min(0.,d)*2.; |
| // Drawing Koch Curve - first iteration | |
| //i- draw line | |
| //ii- uv symmetrical to y-axis | |
| //ii- fold it | |
| float reflection(inout vec2 pos, float angle){ | |
| vec2 normal = vec2(sin(angle),cos(angle)); | |
| float d = dot(pos, normal); | |
| pos -= normal*min(0.,d)*2.; |
| // Create foldings | |
| // Target: flip one of the sides into another. | |
| // i - For each point on on of the side reflect point around an arbitrary line. | |
| void main (){ | |
| vec2 pos = uv(); | |
| vec4 color = vec4(0.); | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Day 1</title> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r71/three.min.js"></script> | |
| </head> | |
| <style> | |
| body { margin: 0; } | |
| canvas { display: block; } |
| uniform float time; | |
| uniform vec2 resolution; | |
| uniform vec3 spectrum; | |
| uniform sampler2D texture0; | |
| out vec4 fragColor; | |
| #define PHI (sqrt(5)*0.5 + 0.5) | |
| //Color function | |
| vec3 palette( in float t, in vec3 a, in vec3 b, in vec3 c, in vec3 d ) | |
| { |
I hereby claim:
To claim this, I am signing this object: