Java Menu Drawing Sine
Launched Feb. 2023
This was one of my first projects in Java, where I began to learn to gather input from the user, validate and process that input, and display different visuals and results.
Feel free to download the code from my GitHub repository, or watch the video below to see what the program does. The menu has these options:
- Calculate the y value (vertical position) for a given x value (horizontal position, in radians) on a sine graph.
- Calculate the area of the sine graph roughly using between 1 and 500 rectangles. More rectangles is more accurate.
- Draw the sine curve with 1 to 500 rectangles for a visualization, using the DrawingPanel import from the text buildingjavaprograms.com to simplify Graphics.
- Exit the program.
Thanks for checking out my project!
If you'd like to see the full documentation for this project, feel free to view it here!
Thank you!
Thanks for checking out my work! If you've got a project or job you think suits me, contact me here, by email, or on LinkedIn.
Contact Me
Thanks for dropping by!
Back to top