MoI discussion forum
MoI discussion forum

Full Version: Auto-spacing random circles with random size and random position

Show messages: All  1-2  3-19

From: Frenchy Pilou (PILOU)
19 May 2020   [#3]
Like this ? (the big image) Not really random ;)
Have you an image of what do you want ?

But that you ask seems perfect for Elephant no? (but i am not entierely sure of what is wished! :)
+ this sort of thing
You have a collection of object that you random spread ?



From: Michael Gibson
19 May 2020   [#4] In reply to [#3]
Hi Pilou, from what I understood no not like that. That one does not have a uniform spacing between circles. Your small circles have more space around them than the large circles. The large circles touch their neighboring circles, the small circles do not touch their neighboring circles.

- Michael
From: wayne hill (WAYNEHILL5202)
19 May 2020   [#5]
Something like this?
https://moi3d.com/forum/index.php?webtag=MOI&msg=9581.165

It is a work in process. It does create vector graphic circle packing from picture in colors with MOI.

Wayne
From: amur (STEFAN)
19 May 2020   [#6]
Hi Michael,

thanks for the reply and I do not want that you waste your time with that, because
v4 is much much more important.


Hi Wayne,

exactly, I don't mind if there would be not enough colors, because I could manually
re-create the addional colors needed.

Regards
Stefan
From: wayne hill (WAYNEHILL5202)
20 May 2020   [#7] In reply to [#6]
Hi Stefan,

Colors are set limited by a javascript library. Having said that, the number of colors (styles / layers) can easily expand to how many styles you feel is necessary. This sample has 24 additional styles. The colors on the picture has been quantized using this library within the Node Editor:

https://github.com/leeoniya/RgbQuant.js/


Post or PM me a sample for what you are looking to convert.

Thank you,

Wayne



From: Frenchy Pilou (PILOU)
20 May 2020   [#8]
Mandelbrot set ?
From: wayne hill (WAYNEHILL5202)
20 May 2020   [#9] In reply to [#8]
Pilou,
A picture I found on the internet that looked like an interesting sample to test.

Wayne
From: amur (STEFAN)
20 May 2020   [#10]
Hi Wayne,

these examples would be portrait fotos of family members, friends or collegues,
so I think you can take any copyright free image from Wikipedea etc, like a polititian,
movie actor etc.

As an example Germany's chancellor Angela Merkel.

Best regards
Stefan
From: wayne hill (WAYNEHILL5202)
20 May 2020   [#11] In reply to [#10]
Stefan,

Is this close to what you are looking for?
The 3dm file is 15 mb and would not download to this forum.

https://drive.google.com/open?id=1pLXE35iyCZ7fbzYjkJO5ZSTupSU8AKNg


Thank you,
Wayne



From: amur (STEFAN)
20 May 2020   [#12]
Hi Wayne,

looks fantastic, however the circles are all equal in size and not like circle packing,
with various sizes.

Regards
Stefan
From: Phiro
20 May 2020   [#13]
Hi Stefan,

Have you a sample image to see what you really want as result ?

It's more easy to find a way when you know where you want to go...

Regards
From: AlexPolo
20 May 2020   [#14]
have you seen STIPPLEGEN 2

https://www.evilmadscientist.com/2012/stipplegen2/
From: amur (STEFAN)
21 May 2020   [#15]
@Phiro Hi,

Wayne has posted a link, in this thread. Like his ABC or like the Mona Lisa:

https://moi3d.com/forum/index.php?webtag=MOI&msg=9581.165

@AlexPolo Hi,

yes, I remember stipplegen, but I like to have circle packing and not stippling.

Regards
Stefan
From: amur (STEFAN)
21 May 2020   [#16]
Hi Phiro and AlexPolo,

here is an example.



Regards
Stefan

Image Attachments:
circle-packing.png 


From: wayne hill (WAYNEHILL5202)
21 May 2020   [#17]
Hi All,

Vector graphics work well with the pointillism routine on this node. Pictures do not work as well at this moment.
Circle packing is one of the item being investigated for this node. The stipple generator is a favorite to work on as well.



Wayne





From: amur (STEFAN)
21 May 2020   [#18]
Hi Wayne,

nice update!

I send you also a PM.

Regards
Stefan
From: Frenchy Pilou (PILOU)
21 May 2020   [#19]
Remember a cool one free 2D Physics !

http://www.algodoo.com
first seconds! ;)

Show messages: All  1-2  3-19