← Back to work

Code sketch2020

200702 Chemical Flame

化學之火

Contents & work details
Created
2020-07-07 04:17:07
Updated
2025-12-30 08:03:21
Mode
p5js
Posted on IG
2020-07-07 @bosscodingplease

Note written at release

化學之火

以前小時候很愛燒各種金屬,會有不同顏色的焰火。 原本想測試留下軌跡,把上一刻的畫面當成材質,意外的疊了軌跡加上噪聲(perlin noise)扭曲座標,�最後再用噪聲加上顏色變化材質後,做出了很像火焰的效果! 把上一刻的軌跡韻律的左右偏移與往上疊加淡出,控制不同顏色衰退的程度,可以做出不同顏色的火焰。

About this sketch

Testing using Perlin noise + buffer texture to generate colorful flames. [GIF https://media.giphy.com/media/jQbfrrUiV5RbpBlQy5/giphy.gif]

Interactive sketchOpen in a new tab ↗

Where this one sits in the family tree

This one began from a shared starter template: shader template . 36 others started from the same template, which is not kinship. See the templates →

Context & sources

Exhibitions, research & collaborations

Contact the artist ↗
1 / 0