Page 1 of 2 12 LastLast
Results 1 to 12 of 18

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

  1. #1
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    NC
    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...
    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
    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
    Moderator Switcher's Avatar
    Join Date
    Apr 2005
    Location
    mydxf.blogspot.com
    Posts
    3,665
    Downloads
    0
    Uploads
    0
    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
    NC
    Posts
    727
    Downloads
    0
    Uploads
    0
    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
    Moderator Switcher's Avatar
    Join Date
    Apr 2005
    Location
    mydxf.blogspot.com
    Posts
    3,665
    Downloads
    0
    Uploads
    0
    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
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    NC
    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
    Moderator Switcher's Avatar
    Join Date
    Apr 2005
    Location
    mydxf.blogspot.com
    Posts
    3,665
    Downloads
    0
    Uploads
    0
    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
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    NC
    Posts
    727
    Downloads
    0
    Uploads
    0
    OH, NO, it's peck drilling on steroids!!!
    HayTay

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


  • #9
    Moderator Switcher's Avatar
    Join Date
    Apr 2005
    Location
    mydxf.blogspot.com
    Posts
    3,665
    Downloads
    0
    Uploads
    0
    .

    Another screenshot = "CNC zone.com"


    The g-code isn't exactly efficient.

    Jerry

    .
    Attached Images Attached Images


  • #10
    Registered HayTay's Avatar
    Join Date
    Oct 2004
    Location
    NC
    Posts
    727
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    180
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jun 2005
    Location
    USA
    Posts
    180
    Downloads
    0
    Uploads
    0
    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.


  • Page 1 of 2 12 LastLast

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.