Fill a 960x960 pixel grid with an envelope signal.
This program depends on the OS Mesa graphics library, for OpenGL line drawing.
sudo apt-get install libosmesa6-dev
The syntax is color, then start time, end time, start signal strength, ending signal strength. The time goes from 0.0..1.0 and the signal strength is -1.0..1.0
WHITE, 0.0, 0.20, 0.50, 0.90
WHITE, 0.20, 0.80, 0.90, -0.30
WHITE, 0.80, 1.0, -0.30, 0.40
Put that in a file called signal.dat
Then run:
make signal.png
To view the image:
feh --fullscreen signal.png
Also included is a gen_sindat which creates a sinusoidal wave.
make signal3.png
feh --fullscreen signal3.png