I found Processing after following tutorials by The Coding Train on YouTube. Primarily using the info to build out tools in Maya I found that Processing also has a way to use Python and makes prototyping and messing around very easy and fun.
Circle Packing
![](https://static.wixstatic.com/media/34f1f3_24dda814922b4f89936886c79ae5ab30~mv2.jpg/v1/fill/w_980,h_261,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_24dda814922b4f89936886c79ae5ab30~mv2.jpg)
Had too much fun with this one, watching circles grow is pretty satisfying.
![](https://static.wixstatic.com/media/34f1f3_c0dd02b3e3a540b18b2d771cbde5e4cd~mv2.gif/v1/fill/w_382,h_511,al_c,pstr/34f1f3_c0dd02b3e3a540b18b2d771cbde5e4cd~mv2.gif)
Basic algorithm -
Generate random point on screen.
If point doesn't overlap any existing circles (or within buffer zone), place point.
Grow point into a circle until it hits another circles edge
I went through a few variations just having fun with the settings.
Made a special one for my wife's tablet.
![](https://static.wixstatic.com/media/34f1f3_efce5e02e7694a6a9547d0540c845b08~mv2.png/v1/fill/w_768,h_1024,al_c,q_90,enc_avif,quality_auto/34f1f3_efce5e02e7694a6a9547d0540c845b08~mv2.png)
Ported the script to Unity
![](https://static.wixstatic.com/media/34f1f3_0020d38b4e184debb44ae79acb3cc48f~mv2.jpg/v1/fill/w_950,h_963,al_c,q_85,enc_avif,quality_auto/34f1f3_0020d38b4e184debb44ae79acb3cc48f~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_200c028d9bfd472e9eedfc85b3e12917~mv2.jpg/v1/fill/w_980,h_528,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_200c028d9bfd472e9eedfc85b3e12917~mv2.jpg)
I added ray casting so the spheres could be placed on top of things.
![](https://static.wixstatic.com/media/34f1f3_9cb2821fa8764dcca756eda20b2c34d0~mv2.jpg/v1/fill/w_980,h_532,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_9cb2821fa8764dcca756eda20b2c34d0~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_73c97c66fdb649e2ab8e15034578faff~mv2.jpg/v1/fill/w_980,h_530,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_73c97c66fdb649e2ab8e15034578faff~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_bfc1180bab4a420cbc61980f46acdf8f~mv2.jpg/v1/fill/w_980,h_526,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_bfc1180bab4a420cbc61980f46acdf8f~mv2.jpg)
Also ported to Maya and added a couple things for forest generation.
Vector Fields
These were created using noise to generated vectors and varying the color, line length and opacity.
![](https://static.wixstatic.com/media/34f1f3_b49d2b2bef98429fbcc038d282866d76~mv2.jpg/v1/fill/w_980,h_401,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_b49d2b2bef98429fbcc038d282866d76~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_396637da7e7843f78c9bca088c18c547~mv2.gif/v1/fill/w_980,h_395,al_c,usm_0.66_1.00_0.01,pstr/34f1f3_396637da7e7843f78c9bca088c18c547~mv2.gif)
![](https://static.wixstatic.com/media/34f1f3_15390e65a2de4ac3a2a7eb9b0c89ce8e~mv2.jpg/v1/fill/w_980,h_325,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_15390e65a2de4ac3a2a7eb9b0c89ce8e~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_398cce33ad714e1e9965b0decc334264~mv2.jpg/v1/fill/w_980,h_555,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_398cce33ad714e1e9965b0decc334264~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_becf867b42a1465494332b32b99c224a~mv2.jpg/v1/fill/w_980,h_555,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_becf867b42a1465494332b32b99c224a~mv2.jpg)
![](https://static.wixstatic.com/media/34f1f3_08fe7d9d748448a0b4a65648c360dce3~mv2.jpg/v1/fill/w_980,h_401,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/34f1f3_08fe7d9d748448a0b4a65648c360dce3~mv2.jpg)
Stock images of the Vector fields can be found here.
Comentarios