Jump to content

xstrider

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

1 Neutral

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. but if 2 polygons have the same color we have a problem - right? That's why I wrote: "each of the seeds is assigned a unique color". But this is only to find the edges of the polygons. Once you have the coordinates of the polygons you can color these any way you like.
  2. Some time ago I had a similar task und came up with this approach: each of the seeds is assigned a unique color from each seed the pixels to the left are checked until a pixel of another color is found or the border is reached from this pixel a walking square algorithm tries to detect directional changes of the border of the respective polygon i. e. the corners. The code attached works just fine for me but probably can be optimized in many ways. Voronoi.txt
  3. xstrider

    Rounded polygon

    I also made some pictures using your 'text along Bezier'.
  4. xstrider

    Rounded polygon

    Hi Angus, based on your advice and of course on your excellent library I'm now able to easily create interestig shapes (see example) for use in my artwork . If you want to see what I do: https://www.embarcadero.com/case-study/artgen-case-study?aldSet=en-GB https://www.embarcadero.com/case-study/artgen-case-study/image-gallery?aldSet=en-GB Thanks a lot and keep up the good work!
  5. xstrider

    Rounded polygon

    Hi Angus, thanks for your time and I have great respect for expertise which is way above my head. But your earlier post promised a stand alone solution ("It requires no specific graphics library to use, just a few extra functions (also included below)") but this doesn't seem to be true. Well, it was worth a try.
  6. xstrider

    Rounded polygon

    Hi Angus, I just discovered your GetSmoothPath() routine. I'm very interested to use it - but I can't make it work. Contrary to what you write the source for the function MakePath is not included. From what I see on the Image32 pages (http://www.angusj.com/delphi/image32/Docs/Units/Img32.Vector/Routines/MakePath.htm), this again calls MakePathI and CSpline which I can't find anywhere. I also wonder why do you convert an array of Doubles to an array of integers and then assign the result again to an array of doubles? How should I use the the tGPGraphicsPath.Flatten of GDI+? It doesn't accept a tPathD as an argument. Could you please elaborate?
  7. Wow, looks like a lot of work that way. I do it this way: - 'save as' for the project file - 'save as' for every unit in the project (you can mark them all in the project window) - manually copy files like icons or ini-files to the new location Would be nice though if there were a project mover tool.
×