Stippling (a.k.a. Pointillism) Program - Adoption needed

Results 1 to 19 of 19

Thread: Stippling (a.k.a. Pointillism) Program - Adoption needed

  1. #1
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Cool Stippling (a.k.a. Pointillism) Program - Adoption needed

    While searching for something else a while ago I ran across a "Weighted Voronoi Stippling" program. The program is way cool (see screen captures below) but seems to have a bunch of programmatical issues. All or parts of the program appear to be in the "public domain" so I was wondering if any of the programming guru's would like to take a crack at spiffing up the Stippling application? All, or parts, of the program(s) code are done using C++ according to one reference. Nothing appears to have been updated with this application for almost a year (since 09/20/2005).

    Does this interest any hot-shot programmer or anyone else??? Maybe someone could propose some sort of collaboration with the original programmer, Adrian Secord. A White Paper by Adrian can be found here.

    Several points (pun intended) that need to be addressed:
    1. After performing some operations the program refuses to close
    2. The increase/decrease points hot keys do not seem to work
    3. Manually entering the number of points sometimes doesn't work, the value is not retained after clicking OK
    4. When changing parameters the display is often not updated
    5. You can save the Stippled graphic as an EPS file but so far I haven't been able to open the saved EPS file with any other application due to file errors.
    6. It would be nice to be able to save the Stippled picture in other raster/vector formats
    7. The set radii function would benefit from an increase/decrease hotkey combination
    8. Etcetera...

    Similar Threads:
    Attached Images Attached Images
    HayTay

    Don't be the one that stands in the way of your success!


  2. #2
    Registered
    Join Date
    Jul 2005
    Location
    USA
    Posts
    82
    Downloads
    0
    Uploads
    0

    Default

    What do you plan to do with this? create g-code to machine dot patterns?

    I kind of like the idea of dots as opposed to v-carve type situations where it's a line streaking through the image, probably make a better output. Granted the disavantage being that it would take a long time to machine I would think.

    What is an EPS file? if you could output that, could you then machine that? I could think with a few parameters it would be easiest to just output the g-code.

    ross



  3. #3
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    HayTay,

    I wrote a generic program that will do the same thing. My program will take any bitmap and scan the "X & Y-axis".
    In my sample I chose to use black and white for simplicity. The program will not cut in the "X & Y-axis" it will only infeed in the "Z-axis" (Endmill).

    I made the bitmap in MS-Paint, that I used in my program. So that means you could use any Font on your PC.

    Also, the sample program is slow on large bmp's.




    I attached 3 screenshots:
    ( Infeed in white "G01", Rapid in blue "G00" )



    (1) "Switcher" inside an oval.
    (2) Zoom of #1.
    (3) My sample program.





    Jerry







    .

    Attached Images Attached Images


  4. #4
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Switcher
    I wrote a generic program that will do the same thing. My program will take any bitmap and scan the "X & Y-axis".
    Jerry
    Switcher,

    Is that part of the Sketch2Code application you've been working on, or some other project? I've been following that post for some time now and have enjoyed seeing your progress. I have to admit, though, that I have not tried it... yet.

    If this is a different programming app. is it anywhere near ready for the CNCZoner's to play with??? Um, uh, I mean Beta test it!

    Keep up the good work, I think you're on to something.

    HayTay

    Don't be the one that stands in the way of your success!


  5. #5
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    HayTay,

    This is a new program, just messing around.

    I thought about adding something like this into "Sketch2Code". It's not ready yet.

    Whats really cool about this code I started is, the scanning of the "X & Y-axis" is looking for a certain color (black). So that means code could be wrote to add as many colors that I add to my MS-Paint bitmap, and use each color as a sub program (g-code).





    Jerry



    .



  6. #6
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Lightbulb

    Let me reemphasize that this is NOT my program, all credit goes to the original programmer, Adrian Secord and any associates that may have helped him.

    Quote Originally Posted by klick0
    What do you plan to do with this? create g-code to machine dot patterns?
    Yeah, I thought that would give a rather unique effect when cut convex into an acrylic sheet and illuminated. For added effect, a clear piece of acrylic could be painted an opaque color (or colors) on one side, then the dots would be cut into the surface. Frame and backlight the result and you would have an effect similar to a Lite Brite (Why wait? For web based Lite-Brite fun check out http://www.sfpg.com/animation/liteBrite.html#). It would also be an unusually nifty effect with the dots cut concave into (out of?) a piece of wood, foam, plastic, metal, etc. You could clear the area around the dots leaving either dots or small posts of varying height. The effect this would give is sort of like jamming your face into one of those pin things they have at Spencer's Gifts only with a larger gap between the dots.

    Quote Originally Posted by klick0
    Granted the disavantage being that it would take a long time to machine I would think.
    That would be a definite!

    Quote Originally Posted by klick0
    What is an EPS file? if you could output that, could you then machine that? I could think with a few parameters it would be easiest to just output the g-code.
    EPS stands for Encapsulated PostScript. You can read about the EPS file format here on Wikipedia. Yes, the EPS file would have to be converted to G-code using some other application.

    HayTay

    Don't be the one that stands in the way of your success!


  7. #7
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    Originally Posted by klick0
    Granted the disavantage being that it would take a long time to machine I would think.
    It would all depend on how fast you could rapid (G00) your cnc machine (without lost steps), the depth in "Z", and the clearance height from the work material in "Z".

    If you kept the "Z" clearance/depth real shallow, I think the cycle time would be ok.


    Jerry


    .



  8. #8
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Default

    OH, NO, it's peck drilling on steroids!!!

    HayTay

    Don't be the one that stands in the way of your success!


  9. #9
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    .

    Another screenshot = "CNC zone.com"


    The g-code isn't exactly efficient.

    Jerry

    .

    Attached Images Attached Images


  10. #10
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Switcher
    The g-code isn't exactly efficient.
    Like everything, that comes later.

    To quote HuFlungDung, "First you get good, then you get fast."

    HayTay

    Don't be the one that stands in the way of your success!


  11. #11
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default

    It looks like the original program used the same size "dot" and increased the dot density for dark colors. You could also use a process similar to VCarve, but without the line that connects the dots (use a V shaped tool, and vary the depth of cut to change the dot size according to the shade of the pixel in the original image).



  12. #12
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Switcher View Post
    .

    Another screenshot = "CNC zone.com"


    The g-code isn't exactly efficient.

    Jerry

    .
    Making the code more efficient would be an intesting math problem, but since the move from point to point is always at clearance height, it might not be too difficult to solve.



  13. #13
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by rweatherly
    (use a V shaped tool, and vary the depth of cut to change the dot size according to the shade of the pixel in the original image).
    YES! That's what I was imagining, also. Now if we could only interest a programmer that could take the current concept and update it to a viable CNC program/application.

    Unfortunately, I am not a programmer.

    Hopefully, if we keep this thread active, we may pique a "code jockey's" interest and they can ride it to the finish line.

    HayTay

    Don't be the one that stands in the way of your success!


  14. #14
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    180
    Downloads
    0
    Uploads
    0

    Default

    I could create the code, but I think Mach3 already does this. There is an image import, and various ways of machining it. The one that looks like what you want is "Dot Diffusion Rendering".



  15. #15
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by rweatherly View Post
    I could create the code, but I think Mach3 already does this.
    I was thinking more of a stand-alone application that corrected the issues (there may be more) noted in the first post and would output the Stipple files in multiple formats (BMP, JPG. GIF, PNG, CDR, DXF and/or others). The application would/could also produce a G-code file ready to run in MACH3 or similar CNC controller software similar to SPALM's SpiroCNC (Thread1 and Thread2) and Switcher's Sketch2Code and "Generic" applications.

    The program could be made to produce "center points" of several different colors depending on the "dot diameter". Your V shaped tool could then, in G-code" be made to "peck drill" the center points to a depth determined by the points color (orig. dot diameter). Did I convey that concept correctly? Or... Is it only something that sounds good in my mind and needs further clarification?

    What'cha think?

    HayTay

    Don't be the one that stands in the way of your success!


  16. #16
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    Has anyone worked on this?


    .



  17. #17
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    United States
    Posts
    727
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Switcher View Post
    Has anyone worked on this?

    .
    Unfortunately, no, since my programming skills are limited to none. Realistically, they are more towards the none side. I still think it is a cool little project that would produce some nifty effects/projects if it could be made to work.

    What do you think, Switcher? Is this of any interest to you? I'm still impressed with your Sketch2Code and Table Leveling (.NET?) apps.

    HayTay

    Don't be the one that stands in the way of your success!


  18. #18
    Member Switcher's Avatar
    Join Date
    Apr 2005
    Location
    United States
    Posts
    3634
    Downloads
    0
    Uploads
    0

    Default

    I started another "Stippling" post over at the Vectric forum here.


    .

    Free DXF - vectorink.com


  19. #19
    Registered
    Join Date
    Jul 2013
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default Re: Stippling (a.k.a. Pointillism) Program - Adoption needed

    Couldn't you just use the pointalism filter in photoshop then import as a jpeg into your design program?



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Stippling (a.k.a. Pointillism) Program - Adoption needed

Stippling (a.k.a. Pointillism) Program - Adoption needed