my curves are ugly
I am creating tools to draw curves that geogebra cannot draw, such as a student-t curve. To draw a custom curve I create a list of points using a custom function tool and then use sequence to connect the points with line segments. This works, but my curve does not have the smooth look of the curves geogebra draws by using (I'm guessing) Java's anti-aliasing path command. They especially look bad when drawn with a geogebra curve in the same window (for example, my student-t vs geogebra's normal). If anyone knows how to fix this ... please help.
Otherwise, I have a feature request: A Path command that takes a list of points as an argument and then connects them with a smooth path by invoking the same path command used to draw function curves.
I have some more thoughts about this. Could there be a path object constructed out of a list of points? This object would be like the boundary of a polygon but without the overhead of line segments or the need to be closed. A sliding point could be attached to it (this would be helpful with my student-t curve). Geometric transformations could also be applied. Length could be calculated. It might be useful in creating graph theory demonstrations .... and, since this is geogebra, it wouldn't be ragged and ugly!
Please post your ggb file (for testing if we do add this :) )
Also, if you use the existing Polygon command, does this do a smooth curve if you hide the points and set the filling to zero?
Here's the file.
I did try a polygon but saw the same thing ... a polygon boundary is also a set of connected line segments. The join points of the segments are not smoothed out.
p.s... I had some trouble creating a polygon with a list of points and resorted to a spreadsheet. What's the trick? I will need this to display area under my curve. (consider: a path object that can be integrated)
We will need to introduce a PolyLine command to get the benefits of special general-path antialiasing. We cannot turn this on for all lists as it makes horizontal and vertical segments look ugly.
I suggest a workaround: locus lines use the nice special general-path antialiasing too. You could have a point C on a segment on the xAxis. Draw the locus of (x(C), Student[x(C), df]), see file attached. This looks much smoother.
Yes, that makes a much better curve.... GeoGebra is beautiful!
Thanks for your consideration and patience with my half-baked ideas .... I think it's time for me to head over to the GeoGebra store and buy some of your sporty gear, maybe add a little change to the tip jar. :wink:
No. Your curves are beautiful <3
But seriously, these curves are real boxy.
Comments have been locked on this page!