Author Message
inode

Joined: 27 Jan 2007
Posts: 127
Location: Austria

 Posted: Sun Dec 02, 2007 10:33 pm    Post subject: Xmas competition Hi all Because of chrismas is coming I have an idea. Lets make a little Xmas competition! Everbody who has some formulas which looks approximately like a tree should publish it - here in this forum! So please if YOU have a "tree formula" let us know about it... Gerd
nextstep

Joined: 06 Jan 2007
Posts: 539

 Posted: Mon Dec 03, 2007 1:54 pm    Post subject: Hi all, Very good idea Gerd...and I like the competition's name Hope we will have some Xifts before chrismas _________________Cheers, Abderrahman
François LE COAT

Joined: 03 Feb 2007
Posts: 27
Location: France

Posted: Mon Dec 03, 2007 5:19 pm    Post subject:

Within Eureka 2.12, I invented the formula of this kind of tree

that gives this kind of animation http://eureka.atari.org/walking.mov

That's designed for cylindrical coordinates described by
 Code: R^1 = mod(4-z)*(4-z)*sin(5*u+pi/2)^2  With   U[ 0,  2*pi] And V[  0,  4]

But it gives me a syntax error, and I can't explain ?

Any idea ?
_________________
-- archimedium
http://eureka.atari.org/
nextstep

Joined: 06 Jan 2007
Posts: 539

 Posted: Mon Dec 03, 2007 6:09 pm    Post subject: Hi all, Waw..that's a beautiful chrismas tree François For the formulas, the error message is for the function "mod". You can use the operator "%" to define the modulo function (ex : 5 % 2 = 1 ) but I'm not sure this is the function you're using since I cant reproduce the same shape you have..._________________Cheers, Abderrahman
François LE COAT

Joined: 03 Feb 2007
Posts: 27
Location: France

Posted: Mon Dec 03, 2007 6:42 pm    Post subject:

 Quote: Waw..that's a beautiful chrismas tree François

You're kind Taha
 Quote: For the formulas, the error message is for the function "mod". You can use the operator "%" to define the modulo function (ex : 5 % 2 = 1 )

That's strange, because mod() is given on http://k3dsurf.sf.net. Is it a mistake ?
 Quote: but I'm not sure this is the function you're using since I can't reproduce the same shape you have ...

I got Christmas Tree !
 Code: R^1 = ((4-z)%1)*(4-z)*sin(5*u+pi/2)^2  With   U[ 0,  2*pi] And V[  0,  4]

Many thanks
_________________
-- archimedium
http://eureka.atari.org/
nextstep

Joined: 06 Jan 2007
Posts: 539

Posted: Tue Dec 04, 2007 8:51 pm    Post subject:

Hi all,
 Quote: That's strange, because mod() is given on http://k3dsurf.sf.net. Is it a mistake ?

Yes it's a mistake! I'll correct that in the next release.
Also, many thanks for your beautiful chrismas tree
_________________
Cheers,
Abderrahman
inode

Joined: 27 Jan 2007
Posts: 127
Location: Austria

Posted: Sat Dec 08, 2007 2:51 pm    Post subject: PG_Xmas_Tree_1

my first tree - looks more like a corel - however here it is...

 Code: Name: PG_Xmas_Tree_1 /* Name: PG_Xmas_Tree_1 12/2007 Gerd Platl */ F(): 2-(x^2+y^2)/55-0.135*z-cos(sqrt(x^2+y^2))*sin(12*atan(y/x)) -cos(12*atan(y/x))*sin(z) -cos(z)*sin(sqrt(x^2+y^2))-0.3*(cos(sqrt(x^2+y^2))*cos(15*atan(y/x)) -cos(15*atan(y/x))*cos(z) -cos(z)*cos(sqrt(x^2+y^2))) [x]: -20 , 20 [y]: -20 , 20 [z]: -30 , 23.5 ;

Gerd

Last edited by inode on Sat Dec 08, 2007 4:38 pm; edited 1 time in total
inode

Joined: 27 Jan 2007
Posts: 127
Location: Austria

 Posted: Sat Dec 08, 2007 4:01 pm    Post subject: PG_Xmas_Tree_2 hohoho - much work - but I've got it! <-k3dsurf | PovRay -> missing only some glitter spheres Gerd
nextstep

Joined: 06 Jan 2007
Posts: 539

 Posted: Sat Dec 08, 2007 10:32 pm    Post subject: Hi all, Ouuuuuups...you're a genius Gerd That's trully the most beautiful mathematical Christmas tree I have ever seen. Congratulations _________________Cheers, Abderrahman
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT Page 1 of 1

 Jump to: Select a forum MathMod----------------MathMod Progress & featuresMathematical Models CollectionHow toBugsMathMod for WindowsMathMod for Linux/UnixMathMod For MACOSXMathMod TutorialsOther Mathematical ToolsOpen Discussion K3DSurf----------------K3DSurf Discuss/DiscussionsHow toK3DSurf math related questionsK3DSurf for WindowsK3DSurf for MacOSK3DSurf for LinuxOnline K3DSurf: J3DSurfNewsBugsOnline DocumentationAccount Activation Issue ?/ Problème d'activation de votre compte ?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum