Hugo Daniel

RSS: https://hugodaniel.com/atom.xml
Hugo Daniel 的个人网站,分享创意和软件实验。

PNGine:用 S-表达式声明式编写 WebGPU

Hugo Daniel 发布 PNGine,用 S-表达式写 WebGPU 程序,编译成字节码后可嵌入 PNG 文件运行。一个三角形仅需 631 字节字节码,含运行时共 4.6KB。 提供 CLI 工具链(validate/compile/render/inspect/diff),以及一个可在无浏览器环境下回放 GPU 调用的 mock 调试器。
评论点赞收藏37 天前

用 S-表达式声明式编写 WebGPU:把程序打包进一张 PNG

Hugo Daniel 花了 2.5 年做一个叫 pngine 的 WebGPU 声明式工具,用 S-表达式描述整个渲染管线,能校验、序列化、导出为单个 HTML/ZIP/PNG。 最特别的是可以把编译后的字节码塞进 PNG 文件的 extra chunk 里,让一张图片同时是预览图和可执行程序。项目基于他之前的 SJON DSL 框架,代码 CC0 开源。
评论点赞收藏37 天前

wgslender:一套面向WGSL着色器的全栈工具链

Hugo Daniel推出wgslender,一套面向WGSL着色器的本地工具链, 覆盖压缩、验证、反射、Lint和二进制生成,支持CLI、LSP、浏览器和库调用四种方式。 离线验证无需WebGPU设备,LSP支持增量重解析,着色器输入错误即时报错。针对demoscene 8K/4K场景设计,大着色器可通过WASM二进制编码压缩,小着色器仍建议传统minify+gzip。 内置30条Lint规则支持自动修复,含"did you mean?"拼写纠错。
评论点赞收藏52 天前

创造力的终结:当AI让所有婚礼视频变得一模一样

两封婚礼视频脚本不同,却因使用AI生成而呈现出惊人的相似性:同样的旁白语调、相同的空镜头与叙事结构。作者观察到日常创造力正在向均值回归,并质疑这是源于对制作平庸内容的恐惧还是单纯的懒惰。 这一基于真实社交场景的观察,直击AI工具导致内容同质化的痛点,极易引发关于技术依赖与创意枯竭的讨论。
评论点赞收藏76 天前

Color Picking OKLCH for Mortals

Complicated things Some people really like complicated things, either because it makes them feel smart(er) or because it can be used as a flex for skill (or a masqueraded impression of skill), or beca...
评论点赞收藏104 天前

S-expressions the wrong way

S-expressions are attracted towards Lisp S-expressions give us that natural syntax for expressing nested hierarchical trees, and once our program is written as trees, it becomes tempting to let those ...
评论点赞收藏120 天前

S-Rausch

Symbolic everywhere One of my favourite demos is Masagin from Farbrausch & Neuro, an 8 minute real-time animation done with code with a strong 2D vibe. The demogroup Farbrausch have their tools code a...
评论点赞收藏128 天前

Lost in the middle

TL;DR Planning to shift and change this site and personal projects a bit now that AI has completely overhauled our craft. The boost is gone My brother who is not a developer was telling me the other d...
评论点赞收藏129 天前

PGP

You can encrypt messages to me, or verify things I have signed, with this key. Fingerprint E49D 556A D099 3482 CA78 B6E8 C181 88F9 E2A4 C0AD Identities (both verified): mail@hugodaniel.com hello@hugod...
评论点赞收藏131 天前

Colophon

A small, opinionated stack. Mostly built from open-source pieces I trust and have read. Generator Zola — single static binary, Rust. Compiles every post to plain HTML so the server's only job is to se...
评论点赞收藏131 天前

The LLM Experience of BoreDOM

TL;DR I talk about the changes made to bring LLM Experience design to boreDOM, my testbed zero-build JS runtime that collapses HTML, CSS, JS and state into a single HTML file so models can locate the ...
评论点赞收藏226 天前

PNGine: A WebGPU shader portability engine

I've been working on a minimal shader portability engine since mid-2024. It was used by me and my friend icid to create a demo for the Inércia demoparty 2025 that happened in Almada in early December....
评论点赞收藏271 天前

WebGPU and the Price of Compiling WGSL

Welcome, in the previous two posts I went looking for the WGSL limits (both in the spec, and also out of it ). In this post I want to introduce a simple WebGPU app where you can create WGSL shaders by...
评论点赞收藏358 天前

WebGPU Shader Limits

Limits can be a fun thing to look out for when exploring unconventional ways to use something in a safe, consensual, way. A while ago I got in my mind that it would be cool to try to dump data directl...
评论点赞收藏379 天前

BoreDOM: Another Boring JavaScript Framework

Being bored can drive you crazy. In my case it took me on a trip to create another JS framework. As if the world even needed more of that. In this post I present the thought process behind "boreDOM" a...
评论点赞收藏626 天前

登录芦苇

登录后关注作者、收藏内容和参与讨论。