Kai-Gen
Takeshi Murata, Christopher Rutledge, J. Krispy · 2021 · Factory
Woop Woop! Run for your life! Kai-Gen are attacking! Fresh from the underground and ready to smash your city, these mutant beasties come unique and fired up. No polygons or texture maps here, just sweet ray-marching magic living right on-chain. When you're ready, press the 2 key on your keyboard to bring them to life. But be forewarned, animated Kai-Gen are hungry AF and will eat old GPUs like jellybeans. A modern-day PC/Mac desktop is highly recommended, then hit that 2 key, if you think you can handle it... Key 1 = Still, Key 2 = Animated. Let's GOOOOO!
仕組み
核は「符号付き距離関数(SDF)のレイマーチング」です。圧縮データから球・箱・カプセル・曲線などのプリミティブが組まれたCSGツリーを復元し、それらを最小値・最大値演算(jmin/jmax)や滑らかな結合(smin/smax)でつなぎ合わせて、一体のモンスター(Kai-Gen)の形を距離関数として定義します。 ポリゴンもテクスチャも使わず、実行時に生成したGLSLフラグメントシェーダが光線を一歩ずつ進めて表面を探り当て、立体を描き出します。ハッシュがプリミティブの種類・配置・結合方法を決め、レイマーチングだけで一体ごとに違う獣を立ち上げる仕組みです。
パレット
#000102 #696481#423a41#8e97b9#5c7712#95627b#e89499#379888#4291e0 アルゴリズム
- Fragment Shader (GLSL) · 分類: rule-based
- Raymarching with SDFs 主 · 分類: rule-based
- 3D Mesh / Geometry · 分類: rule-based
詳細
出典
- On-chain artblocks.io ↗
関連作品 (共有するアルゴリズムによる)
最終更新 2026-07-16