02/23/2023, 08:02 PM
So much of this program is Mike3. I only added splines and data points to construct the same graph Mike3's program makes; just mathematically faster. Because solely it can gather less points.
I'd love for you to look at this code and tell me what you think. The explanation of the code, comes from Mike3's work. I have slightly adapted his notation for this rework. If you read the comments; it will all make sense.
I intend to write a read me soon.
But the main commands are:
func(z)
MakeGraph(WIDTH,HEIGHT,x0,y0,x1,y1,FILENAME, BLUR)
We have to perscribe a function func(z). And then, choose the WIDTH BY HEIGHT in PIXEL BY PIXEL. The value (x0,y0) is the top left corner, and (x1,y1) is the bottom right. The term FILENAME is a plain data file written in .PPM format. This is a basic Linux format--and an unencrypted format. Each value of hexadecimal puts a PIXEL in the file; it is unencrypted.
The value BLUR is my addition. And what I've done to make everything faster. The only condition to BLUR right now is that:
BLUR*WIDTH is a Natural number
BLUR*HEIGHT is a Natural number
0 < BLUR <= 1
And when BLUR = 1, we just run mike3's program. The explanations are in the program:
MakeGraph.gp (Size: 9.36 KB / Downloads: 403)
I'd love for you to look at this code and tell me what you think. The explanation of the code, comes from Mike3's work. I have slightly adapted his notation for this rework. If you read the comments; it will all make sense.
I intend to write a read me soon.
But the main commands are:
func(z)
MakeGraph(WIDTH,HEIGHT,x0,y0,x1,y1,FILENAME, BLUR)
We have to perscribe a function func(z). And then, choose the WIDTH BY HEIGHT in PIXEL BY PIXEL. The value (x0,y0) is the top left corner, and (x1,y1) is the bottom right. The term FILENAME is a plain data file written in .PPM format. This is a basic Linux format--and an unencrypted format. Each value of hexadecimal puts a PIXEL in the file; it is unencrypted.
The value BLUR is my addition. And what I've done to make everything faster. The only condition to BLUR right now is that:
BLUR*WIDTH is a Natural number
BLUR*HEIGHT is a Natural number
0 < BLUR <= 1
And when BLUR = 1, we just run mike3's program. The explanations are in the program:

