Computer paintings
-
If your orginal image has no background area transparent that will works not!
Try with this one I lauch it now so I am sure that it's work
(click on Select all for select all the code)size(1024,512); PImage tabou = loadImage("your_image.png"); int t = 8; for (int k = 8; k < 513; k = k + t) { for (int y = 0; y < 513; y = y + k) { for (int x = 0; x < 1023; x = x + k*2) { image(tabou,x,y,k*2,k) ; } } filter(INVERT); t=t+4; } image(tabou,0,0);
[attachment=0:tgyb3p08]<!-- ia0 -->taboure512.png<!-- ia0 -->[/attachment:tgyb3p08]
-
Must have cheekerboard on background as transparent aera!
Hope this works!
See you soon in four days -
Ah..., merci. You are right that my image had no transparent areas though it was a png, though I don't know how you could tell.
Hopefully I'll have something to show.
Bon voyage.
-
Still not working though with another with transparent areas. Same error. Please attach your image file so I can try it. Perhaps the png conversion by FastStone is faulty; I'll try another conversion program.
Didn't work with Irfan as the converter, with three different settings.. The checkerboard is how your prog is configured to display transparency; it can be balck or white or some other, I believe. I'll crank up PS for an other go.
-
The voting is over, Pilou. No luck here.
-
Here an original image png (zipped) so unzipp it before any process!
Works for me
If that yet don't work for you with this file, we must find another source of problem!
-
Alas, professor...
-
Seems very mysterious
We have the same version of Processing 1.5.1Can you show me the arborescence of folders / files ( I can't see all them on the image above)
Normally you must have just the file "prog" and the folder "data" on the same level
seems they are not on the same "level" from what I can see
Maybe -
Some little thing I have wrong... Or maybe a big thing.
I tried it with data next to .exe and with data in taboure512 folder. Same result.
-
Have you this arborescence of File / Folder ?
You must have the red rectangle with this little arborescence
anywhere : it's an entity ! Can works anywhere !Here it's mixed with the arborescence of Processing : can be possible but not very clear
If you have not maybe re-read my first post for create the first arborescence!
If you have yet that is some ennuyous because I don't see anything else!
-
I will reread your first post. Other than that, I am not sure what you are saying. The pic you show is my pic, so that yes is my setup. 'Arborescence' I assume means tree (directory, folder) structure.
My OS is Vista 64.
-
@unknownuser said:
'Arborescence' I assume means tree (directory, folder) structure.
Yes
@unknownuser said:
The pic you show is my pic
No !
it's that you must see (I have made a photomontage)
In yours above I don't see the black icon "taboure512.pde" under the "data" -
If I good remember
the first time launch a Processing session
Copy inside the lines aboveSave it in a folder anywhere of your choice say "my Processing test" (name of the folder)
with the name that you want say "test" (name of your prog)Surrely a message eroor because ther is not yet an image inside the data folder created
QUIT
You must obtain a file "test.pde" and a folder "data" both inside "my Processing test" folder
(".pde" is the extension name of a Processing program normally it's given automatically)
(maybe extension 's file ".pde" is not visible following your system regulates )You must have the image follow
You can now put inside your image inside the "data" folder created
with the same name than inside the prog : say "sketch.png"(use always PNG format : support of the transparent background)
Inside the prog the "" must be writed around the sketchUp's image!
PImage pilou = loadImage("sketch.png");
Relaunch it by double click on the file name "test.pde" inside your folder
After 3 seconds (more or less following the age of your computer: mine is ten years! )
An artistic image must be created on your screenGrab it and past it inside your favorite 2D prog
You can modify some numeric parameters inside the prog
You can change of course the name of the image inside the prog
if you input an other image with another name inside the data folder!
(don't change the "pilou" words except you well understand the syntax)If you don't want the "filter Invert" on your image
Jut put // before//filter(INVERT);
The image must have always 1024*512 inside the data folder!
Hope this help you
-
And sorry it's the second post that you must maybe re-read
-
OK. I did not show what was beside data, only what was in data. It is beside as you advise.
-
Hum hum
Last chance
Copy the folder taboure512 on the Desk and run it from the Desk but I doubtHave you load and run some processing examples ?
does they work ? -
-
I use it all days
Model by m-dynamics
-
@unknownuser said:
Try to launch my own one!
It worked!!
Now I must figure out what is my problem.
Merci, Pilou, for your patience.
LATER THAT SAME DAY:
The database file thumbs.db is new, and apparently important.
I made a new folder and substituted my image for yours, but renamed things so the exe. and db would apply if need be.
It seems essential; how, where and when is the db file created?
-
Cool so now you will can change some parameters inside the little prog itself for have some variations!
Have happy processing!For the rest, the db file, that is out of my competence!
Advertisement