Sign up

Widgets » Functions 3D

  • 721 downloads last 7 days
  • 206,331 total downloads
  • Rating: +86 (login to vote)
Functions 3D V1.3 Jun 24, 2006 6:38:18 PM

Render 3D surfaces from mathematical expressions

Enter a mathematical function and have it rendered in a 3D space.

-----

Equations are entered as a function of x and y. An example for a unit sphere would be:

f(x,y) = (1 - x^2 - y^2) ^ (1/2)

For a full list of the functions, operators, variables and constants available in this widget visit http://my.opera.com/Benjamin%20Joffe/homes/functions/3Dv0.1.html

For a selection of interesting surfaces visit: http://my.opera.com/Benjamin%20Joffe/homes/functions/surfaces.html

------

New in 0.21
- Fixed a problem that surfaced since Opera 9.2, (thanks Reggiostar and miron22!)

New in 0.2:
- Height spectrum mode
- Fixed minor panning bug

New in 0.3
- Japanese translation courtesy of Opera Software ASA

See also Functions 2D: http://widgets.opera.com/widget/4226


Comments 64 posts

Log in at the top of the page to post a comment.

previous 21 - 40 of 64 next

wow, such a small widget but powerful rendering 3-d images. thank you

By xinhxinh, # Apr 13, 2007 10:10:02 PM

Very useful, thank you!

By bacau, # Apr 9, 2007 11:12:26 PM

Excellent widget!
Great work :D

By refrex, # Mar 12, 2007 4:39:12 PM

a fractal. kinda hard to tell its one on such a small viewing window.
(tan(x)^2)/(sec(x)^-2)

By kingswifty33, # Feb 22, 2007 5:28:02 PM

Wow that is great.

I'm not sure whether i'm in the right place to post a nice function

f(x,y) = 2e^-6(x^2+y^2)-1

this is a Gaussian curve (3d of course)

Valentin

By de_Valentin, # Feb 15, 2007 2:35:52 PM

Excellent!!
While saving image, is it possible to save in a different format??
Anyway liked a lot....
Thanks Man.

By ilndinesh, # Nov 13, 2006 2:41:54 PM

A very nice widget!
try cos(x*5)^9 * cos(y*5)^9

By vt-dbnz, # Oct 17, 2006 10:14:50 PM

Impressive!!!

By Lalacroft, # Sep 20, 2006 10:18:21 AM

I get a black square when I try to save the image.

By DasNuke, # Aug 28, 2006 2:04:23 AM

Seriously, this is amazing. You are a JavaScript god.

By flanker, # Aug 23, 2006 7:26:20 AM

How did you do this? Wonderful!

By aleksanteri, # Aug 20, 2006 2:54:51 PM

CatmandOo: I see. Functions written implicitly like that are extremely difficult to render and would require a FAR more complex mathematical process than the one I have in place (believe me, to implement implicit functions in 2D is a difficult task in itself, let alone in 3D). Each of those quadrics (and a large majority of other implicit functions) however can be manipulated to make Z the subject and with the possible future +/- operator they can be rendered in full.
If you need to render more complex surfaces you could buy a program such as Mathematica.

By Benjamin Joffe, # Aug 8, 2006 11:56:26 AM

@Benjamin Hoffe:
Thanks for your reply. I haven't ment animated functions.
I've ment quadrics:
http://en.wikipedia.org/wiki/Quadric

By CatmandOo, # Aug 7, 2006 5:48:13 PM

Try this out: sin(50(x^2+y^2)^(1/4))/10-0.5/((y^2+y^2)^0.5)+1

By tac94, # Aug 6, 2006 10:11:25 PM

This is a pretty good whirlpool, I just fiddled with "Benjamin Joffe"'s formula and got this: sin(1(x^2+y^2)^(1/9999))/10-0.2/((x^2+y^2)^0.5)+1

By tac94, # Aug 6, 2006 8:12:39 PM

This is great... I ain't good at maths, its really interesting to learn. Btw... I wanted to know how to change colors here...

By aboy0110, # Aug 6, 2006 3:47:55 PM

good!

By iamivor, # Jul 23, 2006 6:28:14 AM

CatmandOo:
It would be possible to implement an extra variable that represents time to create animated surfaces. It would not require a great deal of more code to do so, but will be very slow to render and there would be no way of saving it as an animated gif or anything like that so it does not have a very high priority at the moment. Maybe in a few months I will consider it again.
Your previous suggestion of multiple surfaces on one render would be a good feature but would require alot of change to the interface which I cannot be bothered to work on too much at the moment. The closest thing to this that I am likely to do in the near future is add the option of a "plus or minus" sign at the start of a function to let you draw complete spheres and toruses etc. instead of just the upper half.

By Benjamin Joffe, # Jul 21, 2006 6:49:57 PM

What about a widget to draw functions with three variables? Is this possible? :smile:

By CatmandOo, # Jul 21, 2006 2:14:59 PM

Really Cool

By Obllivian, # Jul 13, 2006 10:35:20 AM

  1. Pages:
  2. previous
  3. 1
  4. 2
  5. 3
  6. 4
  7. next

Copyright © 2001 - 2008 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer | Web analytics powered by HitsLink.HitsLink Logo