Bake grungy treatments into photos (toon/cel shading with ink outlines, dithered pixel art, photocopy, riso misprint, faded vintage with dust and scratches) via tools/fx.py, and add a live WebGL shader (CRT, VHS, pixel-resolve, toon) used on hero images. Add glitch and RGB-split type, camcorder OSD, manga speed lines, sparkles, speech bubbles, checker strips, TV test-pattern placeholders and a CRT power-off/on page transition. Keep the L-train menu and line colors but drop the other Chicago references (star logo, skyline hero, flag footer, Chicago postcard). Fix menu lag: grain overlay no longer uses a blend mode, the header drops its backdrop blur, menu layers are GPU-promoted, and background effects pause while the menu is open.
This commit is contained in:
41 files changed
+1119
-185
No files matched your search
+15
-5
@@ -6,7 +6,9 @@ import ModelViewer from '../components/ModelViewer.astro';
|
||||
import FaultyTerminal from '../components/bits/FaultyTerminal';
|
||||
import { media } from '../lib/media';
|
||||
import cloud from '../assets/photos/cloud.jpg';
|
||||
import hibiscus from '../assets/photos/hibiscus.jpg';
|
||||
import hibiscus from '../assets/fx/hibiscus-toon.webp';
|
||||
import lily from '../assets/fx/lily-pixel.webp';
|
||||
import FxImage from '../components/FxImage.astro';
|
||||
|
||||
const models = (await getCollection('models')).sort((a, b) => +b.data.date - +a.data.date);
|
||||
const faces = ['front', 'back', 'left', 'right', 'top', 'bottom'];
|
||||
@@ -41,7 +43,7 @@ const readout = [
|
||||
</div>
|
||||
<div class="wrap intro">
|
||||
<p class="sys">Blender · glTF · real-time in the browser</p>
|
||||
<h1 class="glow">3D Models</h1>
|
||||
<h1 class="glow glitch" data-text="3D Models">3D Models</h1>
|
||||
<p class="sub">Models I've built in Blender. Drag to rotate, pinch or scroll to zoom.</p>
|
||||
</div>
|
||||
</section>
|
||||
@@ -70,13 +72,14 @@ const readout = [
|
||||
<p class="blocks">▚▞▚▞▚▞▚▞▚▞</p>
|
||||
</div>
|
||||
<div class="petal">
|
||||
<Image src={hibiscus} alt="" widths={[400, 700, 1000]} sizes="(min-width: 52rem) 40vw, 90vw" />
|
||||
<FxImage src={hibiscus} mode="crt" amount={1} ratio="3 / 2" sizes="(min-width: 52rem) 40vw, 90vw" />
|
||||
<span class="tag tl">OBJ_001</span>
|
||||
<span class="tag br">RENDER OK</span>
|
||||
</div>
|
||||
<div class="col right">
|
||||
{readout.slice(3).map(([k, v]) => <p><b>{k}</b> {v}</p>)}
|
||||
<p class="blocks">▞▚▞▚▞▚▞▚▞▚</p>
|
||||
<Image class="lily" src={lily} alt="" format="png" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -276,9 +279,16 @@ const readout = [
|
||||
border: 1px solid var(--line-strong);
|
||||
padding: 6px;
|
||||
}
|
||||
.petal :global(img) {
|
||||
.flower :global(.lily) {
|
||||
display: none;
|
||||
width: 100%;
|
||||
filter: saturate(1.3) contrast(1.1);
|
||||
image-rendering: pixelated;
|
||||
border: 1px solid var(--line-strong);
|
||||
}
|
||||
@media (min-width: 52rem) {
|
||||
.flower :global(.lily) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.petal .tag {
|
||||
position: absolute;
|
||||
|
||||
Reference in new issue
Block a user