Page 1 of 3

Spider Web Drawing

Posted: Fri Apr 29, 2016 2:35 am
by JHPJHP

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 10:16 am
by dobro
very cool :)

and ... just for the Fun : :) (Wait 10-20 secondes )

http://michel.dobro.free.fr/Purebasic/TestSpider.swf


(this effect is made with Pure Anaglyphe )

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 10:55 am
by JHPJHP
Hi dobro,

Thank you for commenting. This was one of my favorite effects from PureBasic Interface to OpenCV.

I also like the link you posted, it really brings the image to life.

-----------------------------------

Updated:
- added 2 effects
-- convert to grayscale
-- convert to sepia

Convert to Grayscale: Executed from the context menu or by pressing 'G'.
Convert to Sepia: Executed from the context menu or by pressing 'S'.
- press the Spacebar to return to the main image
- press the Spacebar a second time to continue drawing

NB*: Save the image at anytime: WYSIWYG.

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 10:57 am
by Keya
WOWSERS!!! :)

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 11:08 am
by Joris
Nice... horror show.
:wink:

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 11:15 am
by JHPJHP
Hi Keya, Joris,

Thank you both, your reactions / comments are what I was hoping for.

Cheers!

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 3:56 pm
by Kwai chang caine
Incredible !!!! :shock:

In some seconde, impossible to not recognize the face of whoopi goldberg !!!! :mrgreen:
Image

No, without joke :wink: , this effect is really splendid, congratulation you are a magician 8)

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 4:05 pm
by Keya
FRIENDS, YOU HAVE TO TRY THIS ONE!!! The static screenshot in the first post doesn't do it justice -- it's animated and the animation itself is quite remarkable!! but what else is remarkable is how very little code there is!!! and even when you do look over the code you can't help but wonder "huh? where's the code that's doing all this magic!?!?" lol

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 5:12 pm
by wilbert
Nice effect :)
JHPJHP wrote:Should be cross-platform
It's not working on OSX without making changes.
The constants #White, #MB_ICONEXCLAMATION, #MB_ICONWARNING and #MB_ICONERROR are not defined on OSX.
The .ico images for the popup menu aren't loaded correctly.

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 6:48 pm
by davido
@JHPJHP,
Very nice, thank you for sharing.

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 9:35 pm
by dobro
I wanted to say ,
the method you use ,
Using a geometric shape to draw a picture
I had already made here: (2013 ;) )

http://forums.purebasic.com/english/vie ... 63#p404588

my program "Pure_autopaint", using different ways to paint a picture.
mode "Flocon" makes, may nearly the same result as your code :)

ImageImage

hum ! plagiarism? <-- (joking :lol:) several people may have the same ideas

ps : since I made a sequel to "Auto_paint"
I called "Barbouille" (Smear)..( the sources are not available)
with Barbouille, it's full of drawing mode
ability to draw with the mouse
post treatment etc ..

download here : Barbouille ...
http://michel.dobro.free.fr/STLINE/down ... arbouille/

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 10:48 pm
by JHPJHP
Hi Kwai chang caine,

Thank you, I'm glad you liked it. I also find it 'magical' how the faces become recognizable after a time.

--------------------------------------------------

Hi Keya,

I agree, the algorithm for creating the effect is brilliant, wish I could take credit for it...

~ developed by Christopher Webb

--------------------------------------------------

Hi Wilbert,

Thanks for the comment and information, I should have it fixed shortly.

--------------------------------------------------

Hi davido,

Thank you, it is always nice to receive your support.

--------------------------------------------------

Hi dobro,

Your application looks great, and you're right the results look very similar... hmmm ! but the code I used was written in 2010/11 by Christopher Webb :lol:

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 10:51 pm
by Keya
lol, of course his surname is Webb. just had a look at the algorithm on his page you linked, i love it when there's hardly any code but it produces such a great effect!

dobro i just saw yours too, really awesome impressionist painting-like effect!

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 10:53 pm
by Andre
Very cool effect! :mrgreen:

Re: Spider Web Drawing

Posted: Fri Apr 29, 2016 11:20 pm
by dobro
JHPJHP wrote: Your application looks great, and you're right the results look very similar... hmmm ! but the code I used was written in 2010/11 by Christopher Webb :lol:

arf !! as I said, several people may have the same ideas .. :)

Personally, the idea came to me, watching a prog (Dynamic Auto Painter )
paint a picture of conversion: see here:

https://www.youtube.com/watch?v=oZOuWw71ZZ4

I do not know Christopher Webb ,it's interesting, thank you for the link :)

@Keya Thanks :)