Smoke

If you have a design you're proud of, share the cfdg file here. It's also a good place to ask for feedback and collaborate.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
designmc
Posts: 3
Joined: Fri Jul 08, 2005 7:27 am

Smoke

Post by designmc »

Here's an interesting smoke effect:

Code: Select all

startshape point

rule point { 
	arc {} 
}

rule arc {
   arc-r {size 1}
   arc-l {size 1}
}

rule arc-l {
    arc-l {x -5 r -0.9 size .98}
    branch{}
}
rule arc-r {
    arc-r {x 5 r 0.9 size .98}
    branch{}
}

rule branch {scatter{}}
rule branch 0.015 {
	arc {r 90} 
	scatter{}
}

rule scatter 0.01 {dot {} }
rule scatter {
	dot {}
	scatter {r 89 y+2}
}

rule scatter {
	dot {}
	scatter {r 91 y+4}
}

rule dot {CIRCLE{}}

User avatar
aaronstj
Posts: 66
Joined: Wed Jul 06, 2005 11:34 am
Location: Seattle

Post by aaronstj »

Neat. It looks like a flak burst. Just scatter itself is a usefull rule. It reminds me of newspaper half tone patterns. I might have to steal it from you. :)

designmc
Posts: 3
Joined: Fri Jul 08, 2005 7:27 am

Post by designmc »

Neat. It looks like a flak burst. Just scatter itself is a usefull rule. It reminds me of newspaper half tone patterns. I might have to steal it from you.
Go right ahead! I'd love to see the scatter effect applied to some other types of shapes. It also works well on it's own creating some very organic cloudlike formations. The best is yet to come...

Post Reply