javascript - Photographic Decay by Page Hits -


i'm beginner in things code, extremely interested in working it. photo student wanting integrate digital media , photographic processes. seeing if had advice problem i'm having. started using processing achieve "generation loss" compression effect photographs, , want move web. want happen every time goes specified web address, application, continue. example, if first user there, see first photograph in sequence. if 650th person, see 650th image. wondering if had suggestions, if should continue trying use processing, or use javascript, or other means. appreciated! can post i'm using in processing , such. in advance.

you have break down few pieces: first piece actual algorithm "decays" image based on number. sounds have working. second piece storing number on server somewhere can accessed , modified various users on multiple sessions. sounds that's part you're confused about.

there isn't way automagically store variables across multiple runs in processing sketch. after all, entire thing being run on clients' computer! can store variable in central location can "share" variable.

there many ways accomplish that, why people saying question vague. obvious solution use database, although using database store single number might seem overkill. setup web server increment number stored in file every time page accessed.

which approach take depends on setup of program, web server, own comfort level programming.

good luck! sounds interesting project.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -