Sign up

Widgets » Science » Functions 3D

  • 780 downloads last 7 days
  • 133,755 total downloads
  • Rating: +93 (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://www.benjoffe.com/code/tools/functions3d/keywords

For a selection of interesting surfaces visit: http://www.benjoffe.com/code/tools/functions3d/examples

------

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

------

www.benjoffe.com


Comments 71 posts

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

previous 21 - 40 of 71 next

The widget turned out to be quite useful for solving equations numerically (as the root of a function).

At the moment, to look for f(x,y)==0 AND g(x,y)==0, I type "abs(f(x,y))+abs(g(x,y))". Sometimes with an additional sqrt(..), depending on how the neighbourhood of the root is shaped.

To make this more useful, it would be a great help to have colored isolines in the dynamic (wireframe) view, or at least different colors for positive and negative values. It's quite hard to guess from the black lines where the root might be.

By Schneemann , # Jun 11, 2007 2:21:29 AM

Very impressive.

By Jadd , # May 29, 2007 4:59:24 PM

This looks great. Thanks for making!

By Archonic , # May 23, 2007 6:37:37 PM

Thanks Reggiostat and miron22, the widget has now been fixed, please re-download.
Regards,
Benjamin

By Benjamin Joffe , # May 7, 2007 6:50:58 PM

"It's amazing, but everytime when the surface changes or when I move it, the old pictures keep "painted" in the window. Is there a way of reparing that?"

SAME PROBLEM HERE!

By miron22 , # May 3, 2007 6:19:43 PM

waaaayyyy to confusing for me lol you need to make one for idiots like to were you just click and drag it or something lol tell me if yo do ever make one for idiots

By mikeoo92 , # Apr 22, 2007 8:27:10 PM

It's amazing, but everytime when the surface changes or when I move it, the old pictures keep "painted" in the window. Is there a way of reparing that?

By Reggiostar , # Apr 21, 2007 3:40:39 PM

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

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

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

Copyright © 2001 - 2009 Opera Software. All rights reserved. About | Contact | Privacy | Disclaimer |