Plot Gaussian distribution in two dimensions
The program renders a 3D Gaussian bell curve surface with proper hidden line removal for a realistic 3D effect.
The conversion includes:
Interactive input: Allows changing the standard deviation value
2D Gaussian surface: Plots the bell curve in two dimensions using the formula g = e^(-r²/(2σ²))/(2πσ²)
Hidden line removal: Implements the original algorithm for drawing hidden surfaces
Coordinate transformation: Maps the -5.0 to +5.0 range with proper 3D perspective
Apple II HGR emulation: 280×192 resolution with HPLOT/HCOLOR functions
Real-time display: Shows the standard deviation, plot range, and peak value