Grasshopper

algorithmic modeling for Rhino

Since I don't have space in my new tiny apartment for a real Christmas tree...

Edge splitting and mesh circle packing using a simplified implementation of this paper: http://www.geometrie.tugraz.at/wallner/packing.pdf

(Kangaroo already does this, probably much better)

Views: 332

Comment

You need to be a member of Grasshopper to add comments!

Comment by taz on January 9, 2015 at 1:13pm

...with a genetically optimized candy cane : gingerbread man : ornament ratio hung via a 3D nesting algorithm (garland hung via gradient descent algorithm).

Happy New Yearz! 

Comment by Vicente Soler on December 30, 2014 at 8:32am

The tree is also generated procedurally using advanced plant growth and ornamental algorithms, it doesn't come from the first Christmas tree image I found in google.

Comment by djordje on December 29, 2014 at 3:49pm

Looks great Vicente.
Happy holidays!

Comment by Daniel González Abalde on December 29, 2014 at 12:37pm

Había puesto una imagen en jpeg, cambié por una en PNG y funcionó.

Mitosis navideña! jeje molaa.

Comment by Vicente Soler on December 29, 2014 at 11:14am

Despues cambiaste a true el boolean toggle?

Comment by Daniel González Abalde on December 29, 2014 at 11:08am

Wow, muy bueno!

Pero no pude ejecutarlo, me pone: "error: Parameter is not valid. (line: 0)"

Puse un nuevo estilo de visualización llamado "black", cambié las rutas, y también cambié el nombre del viewport a "tree" y nada.

De todos modos... Feliz año nuevo! :)

Comment by Vicente Soler on December 29, 2014 at 10:38am

Btw, there are some multithreaded loops which are pretty useless since the bottleneck is the edge splitting.

Comment by Vicente Soler on December 29, 2014 at 10:19am

File: CPTree.gh

For the script to work:

- Create a custom display mode named "black" (with black background, no grid/axis and nice lighting).

- There's a string with the location of an image file, rename it so it points to an image in your computer.

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service