here's how to do a neon/candle flicker
loop:
brightness += random(-20, +15)
clamp
show
delay
the two factors determine how often and how strongly it flickers
here's how to do a neon/candle flicker
loop:
brightness += random(-20, +15)
clamp
show
delay
the two factors determine how often and how strongly it flickers
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.