[← Back to work](https://cheyuwu.com/work/)

Code sketch2020



# 200702 Chemical Flame



化學之火



![200702 Chemical Flame](https://cheyuwu.com/static/img/sketches/927190.webp)



Created



2020-07-07 04:17:07



Updated



2025-12-30 08:03:21



Mode



p5js



Posted on IG



2020-07-07 @bosscodingplease



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]



Films & interaction



[Interactive sketch](https://openprocessing.org/sketch/927190/embed/)


Interactive sketch[Open in a new tab ↗](https://openprocessing.org/sketch/927190/embed/)



## Where this one sits in the family tree



This one began from a shared starter template: [shader template](https://cheyuwu.com/sketch/923286) . 36 others started from the same template, which is not kinship. [See the templates →](https://cheyuwu.com/lineage#templates)



## Context & sources


- [View the sketch and code on OpenProcessing ↗](https://openprocessing.org/sketch/927190)



Exhibitions, research & collaborations

[Contact the artist ↗](https://cheyuwu.com/contact?work=200702+Chemical+Flame&from=/sketch/927190/)



1 / 0
