Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
September 13, 2008
Image Size
7.7 KB
Resolution
400×400
Link
Thumb
Embed

Stats

Views
4,510
Favourites
6 (who?)
Comments
26
Downloads
25

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×
What it does
Take three functions, one for each axis (x, y, z), and the variable t (must be lowercase). Runs from Tmin to Tmax, taking Tstep increments, plugging each value t into the functions and displaying the results...so, it graphs. woo.

How to work it
I tried to make it easy to use for me to play with (and it is fun to play with.) Simply type equations into the X=, Y=, and Z= bars, involving 't' if you want variables. Then click "Graph".

Interesting things:
While graphing, click 'graph' again to pause.
While paused, shift+click 'graph' to stop.

Camera/Graph Controls
Hold shift (either one) to display the camera control (you'll see it.). There are 7 buttons to use on it.
The arrows that have a swirl to them rotate about the X and Y axis (they're outside the red circle).
The arrow going around the inside of the circle rotates about the Z axis.
The arrow in the middle of the circle zooms in and out (kind of, it'll flip if you zoom behind 0).
The arrow on the bottom pans left and right.
The arrow on the right pans up and down.
The red circle itself resets the graph.
>How to use those arrows:
Click + hold the arrow and drag the mouse around. I believe X and Z rotation, as well as X panning, work with moving the mouse left and right. All others are up and down.

Etc
I wanted to make a grapher once I had that 3D to 2D function from a little bit ago. Thought it'd be cool to graph stuff in 3D *shrugs*.

Functions/stuff can you enter as an equation (case sensitive):
ADDED:
LN - Natural Log
e, pi - The constants.
RAND - Generates a random number thur. [0, 1)
SIN(stuff), COS(stuff), TAN(stuff) - Trig Functions
ASIN(stuff), ACOS(stuff), ATAN(stuff) - Arc Functions
SQRT(stuff) - Square Root
ABS - Absolute Value
Operators: +, -, *, ^, /
You can use decimals and parenthesis too.

EX Functions:
Circle:
x = 50*SIN(t)
y = 50*COS(t)
z = 10

Cylinder:
x = 50*SIN(t)
y = 50*COS(t)
z = t

I have no clue what it looks like, but it should work:
x = (SIN(t))*(t)
y = (COS(t))*(t)
z = t
(Actually, I graphed it, it's a neat tornadoy-swirl.

...Also, I made a function that can strings as if you typed them into flash, apparently :shrug:. Dunno if that existed.
Add a Comment:
 
:iconthecheesegrater:
theCheeseGrater Dec 1, 2008  Hobbyist Digital Artist
nice :)
i made a bowl
(SIN(t))*(LN(t))*20
(COS(t))*(LN(t))*20
t
Reply
:iconpsykopath:
Awesome. SQRT and RAND make some weird stuff.
Reply
:iconssjskipp:
Aye, RAND is fun :3 ^^;, makes squigglesssss! Also, thanks for favorite =]
Reply
:iconkyjast:
kyjast Sep 13, 2008  Student Digital Artist
Very nice! Lots of potential I see here. :D
Reply
:iconssjskipp:
:3! Thankies, glad you found it amusing ^^!
Reply
:iconmachinemalfunction:
This is gunna be hella useful :D
Reply
:iconssjskipp:
XD!!! It's fun to mess with RAND ^^;

Also, thanks for the :+fav:
Reply
:iconparka87:
Parka87 Sep 13, 2008  Hobbyist General Artist
:ohnoes:
This seems like a seat breaker amout of time into codeing. Just thinking about it, hurts me.
Reply
Add a Comment: