Skip to content

Commit fc86c4e

Browse files
committed
update
1 parent e226811 commit fc86c4e

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

2023-11-24-05.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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>

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@
4747
<li><a href="2023-11-24-02.html">2023-11-24-02</a></li>
4848
<li><a href="2023-11-24-03.html">2023-11-24-03</a></li>
4949
<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>

0 commit comments

Comments
 (0)