Skip to content

A Java Swing application that plots parametric equations on the xy plane

Notifications You must be signed in to change notification settings

echau01/ParametricCurveGrapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

ParametricCurveGrapher

This program traces out parametric curves in two dimensions. A parametric curve is a set of points in the xy-plane whose coordinates (x, y) are specified in terms of a third variable, t. For any arbitrary t value, the x-coordinate is given by the function x(t), and the y-coordinate is likewise given by the function y(t). The equations for x(t) and y(t) are called the parametric equations of the curve.

GIFs and Screenshots

Here is a GIF of the parametric curve grapher in action:

Parametric curve grapher GIF demo

This screenshot shows the Butterfly Curve being traced out.

Picture of the user interface

Shown below is a screenshot of a parametric curve with a beautiful oscillatory pattern.

A picture of the user interface with a different graph

Usage

To graph a parametric curve using this program, fill in the parametric equations for x(t) and y(t) along with the bounds of the t variable in the appropriate text fields. Then, click the "Draw curve!" button.

This program currently accepts parametric equations containing the variable t, real numbers, operators (+, -, *, /, ^), parentheses, and the trigonometric functions sin, cos, and tan. Constants like e and pi, as well as other functions like ln and arcsin, are not currently supported.

About

A Java Swing application that plots parametric equations on the xy plane

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages