designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

April 2012

15 posts

Shortest Path Generator

April 30, 2012

This is the continuation of my scripting experiment within Grasshopper. Like the minimum spanning tree algorithm, this is also a famous problem of computational geometry; the shortest path problem. I’m now coding faster and understanding the namespace more easily in Grasshopper. This time, the challenge was implementing Dijkstra’s algorithm for the Shortest Path Generator. Again, it’s a quite powerful algorithm, I even plan to use it in my current project. Although there is a faster alternative, Shortest Walk-in Food4Rhino and it…

Points by Curvature

April 26, 2012

This is the basic form of a surface division, based on curvature. As each point on the surface has a curvature value, this might be used to dispatch those values and see the points at flat and curved parts of the surface. I used my favourite surface equation definition (here) as implemented equation of cos(x)+cos(y) in the animation below.

Minimum Spanning Tree

April 26, 2012

This is the updated version of my MST code from 2012. After over a hundred hours of Rhinocommon and Grasshopper SDK studies, and lots of dead ends, I was finally able to calculate the minimum spanning tree of any given curve network in Grasshopper. Problems like these are interesting to me because of their clear logic and diverse areas of applications in design. I tried to simulate Dijkstra’s, Kruskal’s, and Prim’s algorithms, but no chance. There are similar solutions such…

Spatial Mapping made Easy

April 19, 2012

Trying to further improve my experience in parametric modeling, I’m mixing and joining old definitions to reveal different potentials. I’m experiencing spatial mapping or morphing in Grasshopper. This is an equivalent form of the “flow along surface” command in Rhinoceros. It re-builds a geometric composition over another space (from world XY coordinates onto a surface with UV coordinates here) This is especially useful in creating surface compositions from famous tessellations such as Voronoi. There are lots of things I can…

Computational Geometry

April 14, 2012

Searching for a meaning to today’s popular design methods and concepts we are all going after. Most of the abstract problems, today described within architectural domains, are very parallel to another field defined by M. Ian Shamos in 1978. Here is the introduction paragraph of his PhD thesis; Geometry is a subject that has captured the imagination of Man for at least 2500 years. It is at the very foundation of Art, Architecture, and Mathematics, and plays a central role…

Approximating Gyroid

April 14, 2012

Another famous shape of architectural geometry is a set of definitions creating minimal surfaces. I’ve found the trigonometric equation of the Gyroid and created a simple logic for approximating it as points in Grasshopper. However, when I searched the net for similar solutions, I found lots of them including the same approach as mine (Wynstan Wu’s definition). I was planning to develop a script in Grasshopper to take these estimated points and pull them to the Gyroid surface. Then, I…

Wind Tunnel in Vasari

April 13, 2012

When I was a student, 3D modeling and rendering on the computer was an advanced skill. I only managed to create my first rendering in the 4th-year project.  Then, it became a special talent for designers, even opening a freelance business. However, that came to an end when that technology expanded, reaching everybody. Ten years ago, different ecological analysis methods on geometric designs were also another specialized field that everybody doesn’t have access to. Now it seems those technical skills…

Paramod 2011 Mid-term

April 12, 2012

Today, we’ve finished first phase, the introduction to dataflow management in visual programming environments; and conducted “well defined” part of the mid-term examination. First two questions were designed to test technical skills of data matching, geometric evaluation. First one was a simple algorithm that calculates the area of ANY triangle in real-time. Tricky part of this problem was to research and find ways of calculating area and implementing it in Grasshopper. Most obvious formula, “a x h / 2” is…

Quadrilateral Surface Tessellation

April 9, 2012

As far as I understood, it is impossible to physically construct double-curved surfaces from quadrilateral and planar faces. This definition tries to find an optimized alternative to this problem. Any surface, single or double curved, is divided into standard sub surfaces. But this time, those surfaces are treated as planar surfaces, therefore one corner is moved to meet this requirement. The output consists of only planar surfaces ready for fabrication. There are potential improvements to this definition such as finding…

Monkey Saddle Surface

April 8, 2012

This is another popular “math surface” being rediscovered by designers nowadays, in 2012. Saddle surfaces, seen above as mentioned earlier (here) have a special type named “Monkey Saddle Surface”. This surface was a dramatic example of how Grasshopper can control equations and instantly show graphical results. The mathematical equations start with Z=… this makes it very easy for us to transform any x-y grid centers (a 2d data tree of 3d points) and add z values to them according to…

1 2 »
  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #rhombus
    • #tetrahedron
    • #fractal
    • #enneahedron
    • #unrolling
    • #stellated-solid
    • #vbnet
    • #contouring
    • #3d-printing
    • #robot
    • #galapagos
    • #random
    • #data-flow
    • #phyllotaxis
    • #computational-geometry
    • #boolean
    • #workshop
    • #cube
    • #image-sampler
    • #noise
  • Search

  • Support designcoding!

  • Enjoying designcoding? Support me on Patreon to keep it growing. Thank you!

  • copyright 2026 designcoding.net | about | privacy policy | end user license agreement