Creating A Tapered Candle |
These candle images are generated by code in a PHP script. Go here to learn to make your own: Candles-Gradient Candles Made In A PHP Script Part One: Subject: Interactive - Working out an imaging idea. Make a tapered candle. Date: Mon, Dec 19, 2005, 1:38pm From: Moon (I Y I) Took this: 1-CandleTip1.gif Network Eleven ImageMagick IMHub To F/X/ Parameter 1 Implode Which gave me this: 1-CandleTip2.gif Now, how to perfect it, so the final result is a tapered candle and animated flame? I took the image to Gifworks: I cut off the flame and made the background transparent. Smart cropped it. Resized it to 12x31 and saved. I backed up and cropped the image again. Cropping off the upside-down cone shape. Made that background transparent. Smart cropped it. Took it to optimize and split the 3 frames. Selected the first frame. and saved. Part Two: Made a php GD cylinder and took it to ImageMagick To decorate and put a black border around it. Which gave me this: 1-tapr_0.gif Took these 2 images and composited them over. 1-tapr_1.gif composited over south 1-tapr_2.gif composited over north +0+40 1-tapr_1.gif 1-tapr_2.gif Which gave me this: 1-tapr_3.gif Composited 1-tapr_4.gif over 1-tapr_3.gif North +0+10 1-tapr_4.gif End result: 1-tapr_5.gif Not quite right. I do not like the blend of the taper tip=1-tapr_2.gif and the body=1-tapr_1.gif of the candle. May be if I would crop off of the bottom of the "tip=1-tapr_2.gif" image it would blend right? Close though! Trying it again I cropped and resized the 1-tapr_2.gif It is now the 1-tapr_22.gif below. 1-tapr_22.gif I composite 1-tapr_22.gif Over North -1+55 Which gives me this. 1-tapr_11.gif Composited 1-tapr_4.gif over 1-tapr_11.gif North +0+20 1-tapr_4.gif End result: 1-tapr_55.gif More on "Pinching with implode" Graphic Manipulation |
Please Visit my other pages Terms of Use -E-Me-
Copyright©1998- |