Contour plots and their surface counterparts

This is mostly a gallery post, showing the contour plots and 3D surfaces of several functions. All of these images were made with MathGraph3D. f(x,y) = (sin(x) ^ 2) * (sin(y) ^ 2) * exp((x + y) / 2) / 3 + sin(x + y) / 4 on the region [-4,4] x [-4,4]. f(x,y) = sin(x + cos(2y)) - cos(y + sin(2x)) on the region [-2,2] x [-2,2]. f(x,y) = 1 + (x^3 + y^3) / 32 - 0.25x^2 on the region [-4,4] x [-4,4]. f(x,y) = sin(x + cos(y))sin(y + c...
Read More

Creation of MathGraph3D (Part 1 – Foundation)

This series focuses on the creation of the original version of my 3D plotting software MathGraph3D. This first part is concerned with the overall structural components of the software. Before getting into any actual algorithms or math, it’s necessary to set up an outline for how the code will be structured. I decided to create a manager class called “Plot” that would handle everything to do with 3D space and all objects in the calculator. There are five main operations that the Plot must be ...
Read More