Circles on a line - increasing diameter but even spacing

Hi there,
I’m trying to do a series of circles on a line, with a growing Radius (controlled by an attractor) but keeping the spacing between circles the same. ATM I have an approximation that almost works however I would like to really have all the spaces the same value and Ideally to controll it with a slider. I just don’t know quite how yet - Any help will be highly appreciated! :slight_smile:

Here’s my definition ATM

circles increasing diameter even (15.6 KB)

This could be a way by using anemone loop.

circles increasing diameter even (20.7 KB)


Wow, yes that’s it. Never used anemone before will have to study this a bit to get it.
I can see you’re controlling the R with the domain/graph mapper but is there any way we could have a point attractor?

Thank you though @HS_Kim! you always seem to have an answer :smiley:

Here is a method using native GH components.

have a look!

See the code below (20.3 KB)


1 Like

Sounds good but no internalized geometry? And requires R6 or screen shot to fix for R5:


Here you go! The internalised GH file.
@mireia (19.2 KB)


1 Like

Very cool @patternseeing - that’s very close. I still would like to control the spacing distance somehow - I’ll study your definition.


For R5, I still need a readable screen shot of the GH canvas to know where to replace missing R6 components Subtraction and Multiplication?

Hope this helps


things get a bit funky if I try to work it with several lines, any idea why? (21.3 KB)

Hey @mireia
just update the definition as follows

have a look! (25.6 KB)


1 Like

Very nice! - I’ve just added a domain in order to control the Circles size & curve attractor - everything works fine!
Thank you

1 Like

Hi @mireia and @patternseeing,

Im so glad I found this post. I need to accomplish a similar goal, but having little to no GH knowledge is impeding on my ability to edit what you have created for my purposes.

Would it be possible to use spheres instead of circles in this instance? If yes, is this definition able to be used on a curve that is positioned in space rather than being flat?

I have been using this version of the definition for my purposes:


You can use Dash pattern with Pattern = R1+x+R2+x+R3+x+…+Rn = (R1+R2…Rn)+[x*(n-1)] (14.0 KB)


Hi @EltonMackerel, sorry for my late response, I have been away on holidays.
I can’t see why you wouldn’t be able to use it on a 3d curve (it will affect your attractor but see how that works). In terms of spheres intead of circles, you just need a ‘Base’ (a plane) and a R. If you just swap the circle component with a ‘sphere one’ you should be fine I think.


ah that’s great! - will have a look.
thank you


try this: (17.8 KB)

1 Like

Amazing! This works perfectly thank you for the help.