# Simple Net Art Piece

Ola,

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.

GENERAL BEHAVIOR

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

The visual effect I would like to have is a background color cycle where the colors changefrom white to black fading gradually (done via some kind of javascript/jquery/). The length of the time it takes from the color to go from pure white (255,255,255) to black depends on some simple math done on the values grabbed in PART I:

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.

Færdigheder: Javascript, jQuery / Prototype, MySQL, PHP, Web Skrabning

Om arbejdsgiveren:
( 8 bedømmelser ) Gaithersburg, United States

Projekt-ID: #945623

## Tildelt til:

jqMike

\$100 USD på 1 dag
(84 bedømmelser)
7.2

## 3 freelancere byder i gennemsnit \$100 for dette job

ujhgj

*light* Hi! This sounds intresting, unusual and strange:) - so, I like it. I shall help to make this stuff pretty.

\$100 USD in 4 dage
(21 bedømmelser)
6.0
singhal72

light , i m ready to work; and i have much experienced in php,mysql,javascript

\$100 USD in 5 dage
(0 bedømmelser)
0.0