[QUOTE=pondefloor;21952174]so amazing that it's incredibly impractical.[/QUOTE]
I'm sure someone would find a use for it.
Does anyone know the mathematical formula for rotating a triangle around a point?
[QUOTE=Chad Mobile;21952224]I'm sure someone would find a use for it.[/QUOTE]
Yes, people would find a use for it. He meant that it's impractical to code.
Yeah. Honestly it would be a fuck load of work.
If you do it, props. Big fucking props.
[QUOTE=Chad Mobile;21952224]I'm sure someone would find a use for it.[/QUOTE]
do you even know what "impractical" means?
i'm actually convinced that you're a child.
I'd love to make some cool graphs for an avatar or something like that. Some sick graph that I drew and then can prove it's real..:haw:
It does not sound hard as long as you keep it to a linear function. Sounds to me it would be something like this for the formula. I wouldn't know how hard it is to graph the function with how Null did it though.
[cpp]float CoorY1;
float CoorY2;
float CoorX1;
float CoorX2;
float X;
float Y;
float B;
float M
(CoorY2 - CoorY1) / (CoorX2 - CoorX1) = M;
B = M * 1 - 1;
Y = M * X (the X is provided by the user) + B;
[/cpp]
If anyone wants to know why. Slope is found with the equation Y2-Y1/X2-X1, base is found by replacing X with any number, for simplicity it is one in this case. You than solve for B using one, than X is provided by user input which comes out with Y.
I honestly don't know if this would work but to my eye it looks like it would.
Are you guys high or is it just me? It doesn't work like that at all. Nobody would ever draw perfect lines or parabolas or whatever, and the "function" would only be a series of segments or points.
[QUOTE=Xeon06;21952889]Are you guys high or is it just me? It doesn't work like that at all. Nobody would ever draw perfect lines or parabolas or whatever, and the "function" would only be a series of segments or points.[/QUOTE]
No just insanely tired.
[QUOTE=darkrei9n;21952941]No just insanely tired.[/QUOTE]
Super high, bra. :2bong:
(No shit, a 14yr old is defiantly high.)
null: How about a feature that draws the inverse and reciprocal of the function?
[QUOTE=i300;21953124](No shit, a 14yr old is defiantly high.)[/QUOTE]
What are they defying and why?
What?
I dont know any 14yr olds that get high. I know some do, but not me.
Just wasted over an hour because the docs were wrong
[url]http://love2d.org/wiki/Shape:getBoundingBox[/url]
The points are returned clockwise, starting with bottom-left, not counter-clockwise.
[QUOTE=Ortzinator;21953221]Just wasted over an hour because the docs were wrong
[url]http://love2d.org/wiki/Shape:getBoundingBox[/url]
The points are returned clockwise, starting with bottom-left, not counter-clockwise.[/QUOTE]
Agh, thats hell right there.
I am VERY used to x,y plotting from the top left, no negative numbers involved. In math I got in an argument with my teacher about how his equation for a parabola was wrong (x^2), thinking it was (5 * x^2). I then remembered that he was using a graph with 4 quadrilaterals.
[QUOTE=i300;21953185]What?
I dont know any 14yr olds that get high. I know some do, but not me.[/QUOTE]
Try it sometime, it's not bad.
[QUOTE=i300;21951691]What about a feature where you can draw a graph with your mouse, and then the it generates a function for that? :smug:[/QUOTE]
Can't work, random series of lines don't have mathematically describable curves.
[editline]11:30PM[/editline]
[QUOTE=r4nk_;21951393]Must be running out of features to implement by now null? :wink:[/QUOTE]
Yeah, in terms of actual graphing, I'm sort of running out of ideas. If you guys have any feature requests or ideas, please do say so.
[editline]11:30PM[/editline]
[QUOTE=darkrei9n;21952175]Why not add a table feature? Give it a x or y value or look at the table for them to see the points it plots.[/QUOTE]
What do you mean? There's a table feature which can be used to plot 2D/3D points and line segments. Or do you mean a table that is filled by a curve?
[editline]11:31PM[/editline]
[QUOTE=darkrei9n;21952281]Does anyone know the mathematical formula for rotating a triangle around a point?[/QUOTE]
Just build a rotation matrix and multiply.
[editline]11:32PM[/editline]
[QUOTE=stone555;21953159]null: How about a feature that draws the inverse and reciprocal of the function?[/QUOTE]
[code]
plot2 y=x^2
[/code]
(lets draw the inverse)
[code]
plot2 x=y^2
[/code]
As for reciprocal, just raise it to the -1 or put it under 1.
Let us plot those 3d thingys and plot 2 of them and then apply logical operators.
Haha, funny.
No seriously i'm planning on staying un-high (whats the word for not high) for a while. Idk, i'm too lazy to find anything anyways... Lol.
Back on topic; I am working on wallpapers now. Making the images selection view nicer. Also moved the Load Image from URL link onto the home screen of the app!
[editline]08:36PM[/editline]
[QUOTE=nullsquared;21953311]Can't work, random series of lines don't have mathematically describable curves.[/QUOTE]
Fine.
But you could generate a plot2 function for every calculatable series of lines maybe.
I dunno, i'm no expert on this shit.
[QUOTE=i300;21953349]Haha, funny.
No seriously i'm planning on staying un-high (whats the word for not high) for a while. Idk, i'm too lazy to find anything anyways... Lol.
Back on topic; I am working on wallpapers now. Making the images selection view nicer. Also moved the Load Image from URL link onto the home screen of the app![/QUOTE]
Nah I'm not even joking. It's not that bad, I cried my first time though :V I have panic attacks and when I couldn't breath from coughing I freaked out.
[QUOTE=nullsquared;21953311]
Yeah, in terms of actual graphing, I'm sort of running out of ideas. If you guys have any feature requests or ideas, please do say so.[/QUOTE]
How hard would it be to have a few CAS-like functions?
[QUOTE=Jawalt;21953406]Nah I'm not even joking. It's not that bad, I cried my first time though :V I have panic attacks and when I couldn't breath from coughing I freaked out.[/QUOTE]
You, sir, have made my day.
Anyhoo, XCode crashed. Thank god, I hate the black overlay on the icons when they are un-saved, so I always save after i'm done working on a document. Sometimes ODC helps.
[editline]08:41PM[/editline]
Oh, null, do you have a download of the grapher? I really wanna try it out.
[QUOTE=Jawalt;21953348]Let us plot those 3d thingys and plot 2 of them and then apply logical operators.[/QUOTE]
Already possible.
A or B:
[img]http://img41.imageshack.us/img41/4823/aorb.png[/img]
A and not B:
[img]http://img171.imageshack.us/img171/7964/aandnotb.png[/img]
The quality is terrible but I'm not overly concerned about it at the moment.
Thats so sexy, null.
Honestly, this is amazing work. What are you going to do with it when your done?
He's going to use it on his homework. :rolleye:
Wait are you rendering with voxels or is that just the effect of trying to turn a volume into triangles?
[QUOTE=Jawalt;21953659]Wait are you rendering with voxels or is that just the effect of trying to turn a volume into triangles?[/QUOTE]
I'm rendering meshes. The quality degradation comes from the fact that two continuous functions (continuous = smooth) now become a binary function (only 2 states, either on or off). With a binary function, there's no way to achieve the original smooth surface.
[QUOTE=Jawalt;21953659]Wait are you rendering with voxels or is that just the effect of trying to turn a volume into triangles?[/QUOTE]
marching cubes is pretty ugly.
I'd sell it, but that's just me.
[QUOTE=i300;21953583]Thats so sexy, null.
Honestly, this is amazing work. What are you going to do with it when your done?[/QUOTE]
I'm looking into getting some business and web development field experience, so I want to sell it. Really cheaply. Similar applications I've seen are in the $50 range whereas I'm going for around $5-15. Which isn't really too bad considering I'm out-featuring pretty much anything I've seen that tries to be a "real-time grapher." And obviously I'm not competing with mathematica or gnuplot or something, those are on a whole different level.
[editline]11:52PM[/editline]
[QUOTE=pondefloor;21953708]marching cubes is pretty ugly.[/QUOTE]
What are you talking about, all of the surfaces you've seen so far are from marching cubes.
Sorry, you need to Log In to post a reply to this thread.