mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-26 04:41:52 -08:00
Additionally: * Use functions to group blocks of code * Use variable names (not just one character...)
3-D Plot
3-D PLOT will plot the family of curves of any function. The function Z is plotted as “rising” out of the x-y plane with x and y inside a circle of radius 30. The resultant plot looks almost 3-dimensional.
You set the function you want plotted in line 5. As with any mathematical plot, some functions come out “prettier” than others.
The author of this amazingly clever program is Mark Bramhall of DEC.
As published in Basic Computer Games (1978):
Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html