Graph-All: 2D Calculator #1 - Multiple X per Y, Time Variable
2022-02-06. I made this program a long time ago in Turbo Pascal, and also on my TI-85 graphing calculator. I was always dismayed that graphic calculators would merely just compute one X value per Y value on the giving coordinate scale, therefore a formula such as X^2+Y^2=1 would never be drawn correctly as a full circle. Therefore, I invented this method of calculating a 2D graph for real, in a very accurate way. This program is a recreation of that original design, as I had massive optimization ideas, along with real-time parsing, that I always wanted to add, but hadn't. My plan is to implement said features in this program.
Showcases:
- proper rendering of a true 2D formula
- pixel perfect (that means more to artists than to programmers): you'll see curves don't jumble up when jumping to the next grid line; they appear drawn with a pixel perfect pixel-art tool
- zoomed in view for both speed, to show off pixel perfect rendering, but also I just love the low pixel art, fonts, logos, and general style; it also loses nothing for these types of graphs
- showcases real-time updates with the t = time in seconds variable, auto incrementing
- mouse control, drag, zoom on cursor
- formula: (y-Sin(y-t*3.50))*(y+Sin(y+t*2.47))+\n(x-Sin(x-t*5.91))*(x+Sin(x+t*4.83))=t
- notice this formula started as y*y+x*x=1, which is a unit circle
- y*y+x*x=t would be an ever expanding circle of radius T
- now take each of those X and Y, all 4 independently, and "mess" with them: in my case, I add/subtract the Sine of an angle who is also dependent on X, Y and T. Very cool, huh?
Playlists:
--------------------
- Voxel Software 3D: https://youtube.com/watch?v=uadGU-stF-w&list=PLjnbT4UISq0bQF1g85tE9jTrKfEtdRYlY
- Ray Casting 3D: https://youtube.com/watch?v=SkaPYZOKPQg&list=PLjnbT4UISq0YcFtRFjFQqK0g6ONNCtrvY
- Graph-All Calculator 2D: https://youtube.com/watch?v=kLSc7bZW2Bs&list=PLjnbT4UISq0YLgynFSpLzml4BMC6TDZL2
- Parallax Side-Scroll Shooter 2D: https://youtube.com/watch?v=l9bIYkZepPo&list=PLjnbT4UISq0Y_7IAN_zUzxgZnfhXxo_0Q
- Road Pseudo 3D: https://youtube.com/watch?v=rA4g4VX7ys8&list=PLjnbT4UISq0bnfd1RC3M4PgTgkmhlkikV
- Arena Shooter 2D: https://youtube.com/watch?v=VKjiuq437t0&list=PLjnbT4UISq0adw__Y9B2eXA0LL35TyORU
Websites:
---------------------
- GitHub: https://github.com/JDoucette
- Indie Game Studio: http://xona.com
- Blog: http://thefirstpixel.com