584,866 active members*
4,982 visitors online*
Register for free
Login
IndustryArena Forum > OpenSource CNC Design Center > Coding > Stippling (a.k.a. Pointillism) Program - Adoption needed
Results 1 to 19 of 19
  1. #1
    Join Date
    Oct 2004
    Posts
    727

    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...
    Attached Thumbnails Attached Thumbnails Stippled CNCZone1.png   Stippled CNCZone2.png  
    HayTay

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

  2. #2
    Join Date
    Jul 2005
    Posts
    82
    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
    Join Date
    Apr 2005
    Posts
    3634
    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 Thumbnails Attached Thumbnails screen1.JPG   screen2.JPG   screen3.JPG  

  4. #4
    Join Date
    Oct 2004
    Posts
    727
    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:cheers: 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
    Join Date
    Apr 2005
    Posts
    3634
    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
    Join Date
    Oct 2004
    Posts
    727

    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
    Join Date
    Apr 2005
    Posts
    3634
    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
    Join Date
    Oct 2004
    Posts
    727
    OH, NO, it's peck drilling on steroids!!!
    HayTay

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

  9. #9
    Join Date
    Apr 2005
    Posts
    3634
    .

    Another screenshot = "CNC zone.com" :banana:


    The g-code isn't exactly efficient.

    Jerry

    .
    Attached Thumbnails Attached Thumbnails 5.JPG  

  10. #10
    Join Date
    Oct 2004
    Posts
    727
    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
    Join Date
    Jun 2005
    Posts
    180
    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
    Join Date
    Jun 2005
    Posts
    180
    Quote Originally Posted by Switcher View Post
    .

    Another screenshot = "CNC zone.com" :banana:


    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
    Join Date
    Oct 2004
    Posts
    727
    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
    Join Date
    Jun 2005
    Posts
    180
    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
    Join Date
    Oct 2004
    Posts
    727
    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
    Join Date
    Apr 2005
    Posts
    3634
    Has anyone worked on this?


    .

  17. #17
    Join Date
    Oct 2004
    Posts
    727
    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
    Join Date
    Apr 2005
    Posts
    3634
    I started another "Stippling" post over at the Vectric forum here.


    .
    Free DXF - vectorink.com

  19. #19
    Join Date
    Jul 2013
    Posts
    5

    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?

Similar Threads

  1. Replies: 0
    Last Post: 01-31-2014, 05:30 PM
  2. Stippling with Vcarve Pro
    By Switcher in forum Vectric
    Replies: 2
    Last Post: 08-29-2010, 05:45 AM
  3. Help needed with program
    By Rob D in forum G-Code Programing
    Replies: 14
    Last Post: 05-01-2009, 11:48 AM
  4. CNC Program Needed using Fanuc/G34
    By Wedge lover in forum Employment Opportunity
    Replies: 1
    Last Post: 05-28-2007, 07:18 PM
  5. First Program - Help Needed
    By TZ250 in forum Milltronics
    Replies: 15
    Last Post: 03-26-2007, 06:38 AM

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
  •