by redbird77 (11 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)

SineWave Text is a program that produces HTML for colored text.
(To get true rainbow text, check out my other program Rainbow Text.
https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=45032&lngWId=1)
This program works by drawing three sine waves (representing the red, blue, and green components of a color) with user-variable amplitude, frequency, and phase shifts. Then the program iterates through 360 degrees taking the value of each wave at each degree and merging them to form a color value.
Credit goes to this site https://www.mu.org/~doug/blend/index.html for introducing me to the idea of producing gradients from sine and other shaped waves.
Download SineWave Text v1.00 (10 KB)