I'm a student and I'm making a kind of "net-art" piece.
It uses some simple basic web scraping for values and then outputs (based on those values) visually on screen a changing greyscale background color cycle. For a visual example please see the attached gif. Please read my description and feel free to ask me any questions or make some suggestions.
PART 1: GRAB INITIAL VALUES
1) a blank page that allows the user to input one search string via simple form field
2) Look up the user-inputted search string (for example, "poop") on Google search
2) Takes and stores the number of search results for the search string (found on the Search page).
For example if you search for "poop" you get "about 17,500,000 results";
grab the 17,500,000 as a value and store.
4) Then it compares the user submitted search string's stored value with the value for the search string "light" (hard coded);
For example, i get about about 1,350,000,000 results for the search term "light."
PART II: TAKING THE VALUES AND AFFECTING OUTPUT BEHAVIOR
An example method could be:
5) a) Evaluate the difference between the two values (eg "light" - "poop" or 1,350,000,000 - 17,500,000 = 1,332,500,000).
(or just compare the two values, eg if "light" > "poop" aka 1,350,000,00 > 17,500,000)
b) If the difference is a negative value or if "poop" > "light", the background color changes to black quickly and stays that way.
c) If the difference is a positive value or "light" > "poop" the background color starts out white and gradually fades to black, then fades back into white again ( infinite Loop).
The length of time for the fade is determined by the positive difference obtained in 5a).
How you scale the difference to time is up to you but should follow these general rules:
1) the longest fade time should be no longer than 3 - 4 minutes, if that. use your aesthetic judgement, lol.
2) shortest fade time possible should be ~5 seconds.
IF YOU HAVE READ THIS PLEASE PUT the word "LIGHT" in your bid message. thanks.