Yo everyone!
Today I got a mail from my friend Jaya with an attachment : A desktop Xmas Tree…
At first, I told myself “line manke travail comme dab”, but finally I said to myself, why not use it?
For the greedy ones, you will be happy to know that you can duplicate the xmas trees, especially since its free and for the lazy ones, you can hover your mouse over them to know the number of days remaining till xmas.
So Jaya, thanks 😉
Facebook Fan Page
To all my fans and facebook members, thanks for joining my facebook group and facebook fan page…
A few mins ago, the fan page welcomed the 800th fan!
For those still hesitating to join in, I promise that I don’t spam my facebook fans or group members. Just ask others!
Thanks for the share Yash..I already got 5 x mas trees…xD
LikeLike
@Tushal: LOL!
LikeLike
Quote from Tushal:
“Thanks for the share Yash..I already got 5 x mas trees…xD”
xD Sa si to collectioner ta ? hehe….^.^
LikeLike
Yupiee..I got 16 trees as shown below…Thanks Yash 🙂
*
* *
* * *
* * * *
* * * * *
*
LikeLike
Ohh Nooooooooooo
Comments massacrated…pffft
lol
anyways…fouff
LikeLike
@Chaya : LOL
It doesn’t matter, I think all of us know that you are trying to draw a flag 🙂
LikeLike
Yashvin: Alla code pou draw a christmas tree haha 🙂
public void Start(Line seed)
{
h15=Math.Abs(seed.Size.Height)/5;
Fractal(seed, depth);
}
private void Fractal(Line l, int depth)
{
// draw the branch in a color based on its length
int len=l.Length;
if (len < 3)
{
gr.DrawLine(pbr3, l.StartPoint, l.EndPoint);
}
else if (len 1) )
{
// get the second segment when we split the line
Line l2=l.SplitAt(bp)[1];
// if no change, then exit.
if (l2.Length==l.Length)
{
return;
}
// get the left and right branch starting points
Line bp1=l.SplitAt(bp+MathEx.Dev(bpDev))[1];
Line bp2=l.SplitAt(bp+MathEx.Dev(bpDev))[1];
// the new “master” branch starting point has no randomness
l=l2;
// get the left and right branches
Line lineLeft=bp1.Branch(360-ba+MathEx.Dev(baDev),
(int)(bp1.Length*bl/100+MathEx.Dev(blDev)));
Line lineRight=bp2.Branch(ba+MathEx.Dev(baDev),
(int)(bp2.Length*bl/100+MathEx.Dev(blDev)));
// recurse both branches
Fractal(lineLeft, depth-1);
Fractal(lineRight, depth-1);
}
}
LikeLike
[re=28306]Yashvin[/re]: Merry Christmas Yash..:p
**Cough I’m still waiting for the parties cough**
[re=28310]Peter[/re]:
I love X mas unlike you who loves guys..xD
[re=28311]Chaya[/re]:
Jeez..Wherever you are you need to write in PYTHON?I hate python.
LikeLike
CSE courses? lol yashvin tonne fer moi rappele sa universiter kaka de maurice la lol… ek satan so DFD pedale la etc hahaha!!! sa ti ene lepok sa! “An offspring of a horse is a horse” hahaha!!!!
LikeLike
taey..extra long sa code la…laisse tomber pa interesser draw sa kaliter christmas tree lol
LikeLike