-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
210 lines (175 loc) · 6.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>perbyhring.github.io</title>
<style>
body {
font-family:monospace;
line-height:1.6;
display:grid;
justify-items:center;
font-size:18px;
padding:16px;
}
main {
max-width:1024px;
}
li {
margin-bottom:2ex;
}
a {
color:#000!important;
}
time {
font-size:16px;
font-weight:400;
display:inline-block;
color:#999;
}
details[open] {
margin-bottom:16px;
}
summary {
font-weight:700;
cursor:pointer;
}
img {
width:100%;
}
video {
width:100%;
}
footer {
margin-top:5ex;
padding-top:2ex;
}
h2 {
margin-top:72px;
border-bottom:1px solid #ccc;
}
h3 {
margin-top:48px;
}
.waving-hand {
position:relative;
display:inline-block;
animation: waving-hand 3s infinite;
transform-origin:70% 70%;
}
@media (prefers-reduced-motion) {
.waving-hand {
animation:none;
}
}
@keyframes waving-hand {
0%, 5%, 10%, 15%, 100% {
transform:rotate(-5deg);
}
2.5%, 7.5%, 12.5%, 20% {
transform:rotate(5deg);
}
25%, 97.5% {
transform:rotate(0deg);
}
}
@media (prefers-color-scheme: dark) {
body {
background:#333;
color:#fff;
}
time {
color:#777;
}
h2 {
margin-top:72px;
border-bottom:1px solid #777;
}
a {
color:#fff!important;
}
}
details[open] {
position:relative;
left:50%;
margin-left:-50vw;
width:100vw;
}
details[open] > summary {
transform:translateX(calc(50vw - 50%));
max-width:1024px;
padding:0 24px;
}
details[open] > img,
details[open] > video {
position:relative;
transform:translateX(calc(50vw - 50%));
width:100vw;
max-width: 1280px;
}
</style>
</head>
<body>
<main>
<header>
<h1>Hello <span class="waving-hand">👋</span></h1>
</header>
<article>
<p>My name is Per Byhring. <br>This a place where I publish some things I make for fun and to learn new stuff.</p>
<h2>Content ↴</h2>
<ul>
<li><a href="#three-js-fun">Fun With Shaders And Real-Time 3D</a></li>
<li><a href="#blender-fun">Blender Fun</a></li>
</ul>
<h2 id="three-js-fun"># Fun With Shaders And Real-Time 3D</h2>
<h3>
<a href="https://perbyhring.github.io/slug/public/">Slugs // Ημίθεος γυμνοσάλιαγκας</a>
<time datetime="2022-01-26 00:00">2022.01.26</time>
</h3>
<p>This scene is inspired by a poem about slugs (but not really).
The three.js scene is made up of one PlaneGeometry (for the terrain) and one CylinderGeometry (for the slug) – no lights or out of the box materials. Everything is modeled and painted with GLSL vertex and fragment shaders.</p>
<h3>
<a href="https://perbyhring.github.io/instanced-mesh-tunnel/public/">Instanced Mesh Tunnel</a>
<time datetime="2021-11-24 00:00">2021.11.24</time>
</h3>
<p>A tiny interactive experiment where I wanted to try out how to write InstancedMesh-instances declaratively with my svelte/three-library.</p>
<h3>
<a href="https://perbyhring.github.io/intentional-jellyfish/public/">Intentional Jellyfish</a>
<time datetime="2021-10-25 00:00">2021.10.25</time>
</h3>
<p>This jellyfish was created from a single IcosahedronGeometry. The top ended up looking a bit more like a mushroom. But that's okay.</p>
<h3>
<a href="https://perbyhring.github.io/unintentional-jellyfish/public/">Unintentional Jellyfish</a>
<time datetime="2021-10-21 00:00">2021.10.21</time>
</h3>
<p></p>This was my first go at creating something from scratch after having finished Bruno Simons great chapter on shaders in his <a href="https://threejs-journey.xyz">Three.js Journey</a>-course. I set out to sculpt a SphereGeometry into a cartoon cloud in the vertex shader. It ended up looking more like a jellyfish, so I doubled down on that.</p>
<h2 id="blender-fun"># Blender Fun</h2>
<h3>The Outpost <time datetime="2022-02-07 00:00">2022.02.10</time></h3>
<p>I made this thing because I wanted to try Blenders particle system. So I watched <a href="https://www.youtube.com/watch?v=gd9S7Ln0vB4">this quick tutorial</a> and felt inspired to create a snowy landscape. I probably went a bit over board with the particles. But hey, that's how I learn. First go crazy and then – once you're done being overly excited about learning a new skill – tone it down and use it sensibly. The robot-model is from <a href="https://quaternius.com/">Quaternius</a>.</p>
<details>
<summary>The Outpost 🎥</summary>
<video src="https://perbyhring.github.io/blender-fun/2022-02-10-the-outpost.mp4" poster="https://perbyhring.github.io/blender-fun/2022-02-10-the-outpost_poster.jpg" preload controls muted loop />
</details>
<h3>Pathway To Somewhere / Unsuspected Company <time datetime="2022-02-07 00:00">2022.02.07</time></h3>
<p>I spent a couple of hours organizing all my asset packs into the new Asset Browser in Blender 3.0. Which felt like, but really wasn't, a dumb thing to do. I found it to improve my work flow immensely. These two images was created from throwing assets together and going "hummm.. haaah.. yes... no.. hummm.. yes" until I liked what I was seeing.</p>
<details>
<summary>Pathway To Somewhere 📷</summary>
<img src="https://perbyhring.github.io/blender-fun/07-02-2022-pathway-to-somewhere-03.jpg" loading="lazy">
</details>
<details>
<summary>Unsuspected Company 📷</summary>
<img src="https://perbyhring.github.io/blender-fun/02-07-unsuspected-company.jpg" loading="lazy">
</details>
</article>
<footer>
<strong>Find me:</strong>
<a href="https://twitter.com/perbyhring">@twitter</a> |
<a href="https://soundcloud.com/perbyhring">@soundcloud</a> |
<a href="https://github.com/perbyhring">@github</a> |
<a href="https://codepen.io/perbyhring">@codepen</a>
</footer>
</main>
</body>
</html>