File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ < html lang ="en ">
2
+ < head >
3
+ < meta charset ="UTF-8 ">
4
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
5
+ < title > shader</ title >
6
+ < link rel ="stylesheet " href ="style.css ">
7
+ < meta name ="apple-mobile-web-app-capable " content ="yes ">
8
+ < meta name ="apple-mobile-web-app-status-bar-style " content ="black ">
9
+ </ head >
10
+ < body >
11
+ < canvas > </ canvas >
12
+
13
+ < script type ="x-shader/x-fragment ">
14
+ precision mediump float ;
15
+
16
+ uniform vec2 resolution ;
17
+ uniform float time ;
18
+
19
+ void main ( ) {
20
+ vec2 uv = gl_FragCoord . xy / resolution . xy ;
21
+
22
+ float c = 0. ;
23
+ if ( mod ( gl_FragCoord . x + floor ( sin ( time * .1 + sin ( uv . y * 20. ) * cos ( uv . x ) * 10. ) * 3. ) * 5. + sin ( ( uv . y - .5 + sin ( time * .5 + uv . x ) * .3 * cos ( uv . y + time * .2 ) ) * .05 + cos ( time * .1 + uv . x * 20. ) * .01 ) * .002 , 6.5 ) == 0. ) c = 1. ;
24
+
25
+ gl_FragColor = vec4 ( vec3 ( c ) , 1. ) ;
26
+ }
27
+ </ script >
28
+
29
+ < script src ="veda.js "> </ script >
30
+ </ body >
31
+ </ html >
Original file line number Diff line number Diff line change 47
47
< li > < a href ="2023-11-24-02.html "> 2023-11-24-02</ a > </ li >
48
48
< li > < a href ="2023-11-24-03.html "> 2023-11-24-03</ a > </ li >
49
49
< li > < a href ="2023-11-24-04.html "> 2023-11-24-04</ a > </ li >
50
+ < li > < a href ="2023-11-24-05.html "> 2023-11-24-05</ a > </ li >
You can’t perform that action at this time.
0 commit comments