
-----------------------------------
Delos
Sat Jan 15, 2005 8:52 pm

[Graphics] Scratch
-----------------------------------
I got a bit inspired today...and made this.  It's not all that amazing, but meh.  It's been a while since I last coded anything...

Anyhow, it runs off my Lens Filter engine, which some of you may remember from a bit back...and adds a little...scratch to it :P.

Enjoy...

BTW, keep in mind that
1) the input part is very much crashable...whipped up in the last five minutes, so don't expect it to be nice
2) resultant images are in 256-colour format - thank OOT for that...


-----------------------------------
sport
Sat Jan 15, 2005 10:56 pm


-----------------------------------
What is the default directory?

-----------------------------------
zomg
Sat Jan 15, 2005 11:02 pm


-----------------------------------
What is the default directory?
it works cool but i have to keep pushing close and then click no 
thats the only way it works for me anyway that pretty kewl for turing

*default directory is the directory that the exe file is in

-----------------------------------
sport
Sat Jan 15, 2005 11:08 pm


-----------------------------------
I got it it's the one where the file is located. But I get an error

-----------------------------------
Delos
Sun Jan 16, 2005 10:03 am


-----------------------------------
Hmm...I'm guessing your trying to load a pic that's not stored in the same folder as the .exe sport (as shadow master said).  You could always be interesting and type the full path ;).

As for shadow master, could you elaborate a bit on what you said there...I'm not fully understanding what or why you're doing what you're doing to get it to work...

-----------------------------------
Viper
Mon Jan 17, 2005 12:19 pm


-----------------------------------
i dont get wut this is  :oops:

-----------------------------------
Delos
Mon Jan 17, 2005 1:00 pm


-----------------------------------
Hehe...

Ok, it takes a picture.  By analyzing the colours, it redraws it as a greyscale series of dots.  The probability of a dot being drawn increases with the darkness of the colour of that spot in the original image.  The probable colour of the dot (in terms of grey) changes depending on the original colour once again.
Increasing the density allows for a more recognizable picture to be drawn.
I've found that once you get beyond around 20 or so in the denisty, the pic doesn't change at all, so I've restricted it to 15.
