PepGold Posted May 3, 2023 Share Posted May 3, 2023 Apologies for my lack of proper terms and understanding of math. But is there a fill mode or method that will let you fill a shape with another shape with the shapes colliding. Basically take a tear drop shape and fill with with as many circles as possible without them colliding or getting clipped by the parent tear drop shape? Like a density fill or packing. I've included a quick illustration to help my explain and visualize my thinking. Hope it makes sense Quote Link to comment Share on other sites More sharing options...
NotMyFault Posted May 3, 2023 Share Posted May 3, 2023 Unfortunately that functionality is not available in Affinity apps. The closest similar functionality is Constraints in Designer, but limited to rectangular shapes and x/y axis. PepGold 1 Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. Link to comment Share on other sites More sharing options...
GarryP Posted May 3, 2023 Share Posted May 3, 2023 belief-begin-conjoin: I did some experimentation with Live Filters in Photo and got the attached example, but it’s not what you asked for as some of the circles are still clipped by the shape. (I guess you could rasterise it and manually erase the bits you don’t want.) I’ve also attached the document so you can play with it but you’ll have to figure out what I’ve done yourself as I can’t remember everything I did and not everything I did will have been necessary. As has been mentioned above, the software isn’t designed to do this sort of thing automatically, and may never be. I think your best bet might be to use a grid of circles over the shape and then ‘trim the fat’ where the circles aren’t wanted. dots-in-a-tear-shape.afphoto PepGold 1 Quote Link to comment Share on other sites More sharing options...
Staff Lee_T Posted May 3, 2023 Staff Share Posted May 3, 2023 Hi belief-begin-conjoin, Unfortunately this isn't a feature, as well as the above suggestion, here's another. Create concentric shapes within your main shape and use the text to curve feature with a filled circle glyph. When you've got it "close enough" (it's a bit of a fiddly method) convert to curves and ungroup everything to tweak the shape positions. The advantage of this would be the ability to alter the sizes and positions using the curve shape non-destructively until you finally convert it to curves. Depending on the size and density this might not save you much time, but if it's quite dense I reckon it would save a bit of time. Lee PepGold and NotMyFault 1 1 Quote Link to comment Share on other sites More sharing options...
v_kyr Posted May 3, 2023 Share Posted May 3, 2023 One can also use some generative third-party scripting process for the shape based circle packing and then fit peaces in ADe together. - For example ... I've used a tears like silhouette shape (black filled on white bg) image as a starting point here ... Next I let a Python script packing routine fill the above shown silhouette shape image area with some random sized vector circles, as that looks much better and can also fill small regions of that tear shape with circles. The packed circled shape result will be in my case here generated as SVG vectors ...tear-2.svgNote: One can of course fine-adjust the circle sizes, their color, the amount of circles to use, for the shape packing generation run. I just used some simple defaults here. In ADe one can fit then the peaces together ... All in all it's a pretty easy and reusable generation process, which can be customized via settings to produce the wanted packing result then. PepGold 1 Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
NotMyFault Posted May 3, 2023 Share Posted May 3, 2023 I‘m unsure if this is the same method as @LeeThorpe mentioned, but the result looks different. Use any Shape, and convert with frame text tool to text frame shape. Then use glyph browser to add a circular glyph, followed by blank (to allow line breaks). Duplicate those 2 characters as needed. Set color and text width as needed. Set text alignment to center. Notes: text flow is always horizontal / left to right. But you can rotate the initial shape to any angle, click „Geometry->add“, the add text, and rotate back afterwards to create any angle for text symbols. Play with text alignment (center, left, right, etc) shape filled with symbols.afphoto PepGold 1 Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 iPad Air Gen 5 (2022) A2589 Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps. Link to comment Share on other sites More sharing options...
PepGold Posted May 4, 2023 Author Share Posted May 4, 2023 Thanks everyone for your great suggestions and ideas, truly helpful. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.