designcoding
About Table of Contents Keywords Monthly Archive
Support designcoding!

Algorithms

263 posts

Derivative and Slope

April 6, 2018

Yes, interesting topics started to reveal themselves, when I dig into the function curves, especially in the parametric representation. The first interesting application is the “derivative”. Nobody in high school told me that the derivative of a function at a given point gives the slope of the graph at that point. Moreover, it is possible to convert the slope value into an angle in degrees, showing the angle of the tangent line to the x-axis at that point. They are…

Graph of Parametric Functions

April 6, 2018

This RhinoPython script handles the simple graphs of two-dimensional parametric functions. Therefore, it approximates these functions by drawing parametric curves. It generates many points by solving the functions. The graph of parametric functions is a major topic in most Design Mathematics courses. Because it looks like the building block of many concepts of CAD. However, there is much more to learn before saying that the third degree NURBS is a degree-3 polynomial function. I am curious about learning the underlying…

Gosper-Peano Fractal Curves

January 8, 2018

Introducing the new YouTube channel for designcoding! The architectural Geometry playlist will contain video tutorials on several topics of basic geometry exercises for designers. Below are the introductory exercises of polyline drawing and some planar transformations such as scale and rotation. It is also an interesting plane-filling fractal you know I like it very much. I studied this particula fractal (Gosper-Peano) earlier here, and here. I find it very inspiring and educational.

Parametric Wall Revisited

August 20, 2017

This exercise was a popular one in the 2015 and 2016 Architectural Geometry classes. Recently, I found these images of student works. However, some of the students’ names are missing (please e-mail me if one of them is yours). I love this exercise because it is a quick and efficient way of explaining and experimenting with the workflow of digital to physical production. In this particular exercise, students created Rhino Macro codes to develop these 3d pattern deformations. It is…

Gosper-Peano Curve in Grasshopper

August 19, 2017

Anemone components are still working great, extending the abilities of Grasshopper. Here, I studied a space-filling (or plane-filling) fractal called the Gosper-Peano Curve. You should be very careful about the number of iterations (the N input). Because it can crash your Rhino if you change it to more significant numbers. Also, you should have Anemone components installed in order to run this definition. The generator curve is a special one. This website explains the generation of the curve from the…

Cycloid Curves with Rhino Python

August 7, 2017

Studied earlier in Grasshopper here, creating a cycloid-like curve actually mimics the physical process of rotating disks on a path. Below is a test in Rhino Python (I know the variable names are not conventional).

Dual Polyhedra Generator

August 3, 2017

According to Wolfram, By the duality principle, for every polyhedron, another polyhedron exists in which faces and polyhedron vertices occupy complementary locations. This polyhedron is known as the dual, or reciprocal”. We can use this method to generate new polyhedra from known ones. I tried to develop a Dual Polyhedra Generator in this Rhino Python script. First, the script asks a user to select a closed polysurface object. Then, it attempts to identify the area centroids of the faces. By…

Polygon Fractals with Rhino Python

August 2, 2017

We will see a simple Rhino Python exercise here. I called these Polygon Fractals (or Pentaflakes sometimes). It is both educational and fun to play with them. In Rhino, it can be a good exercise for basic CAD commands and transformations such as move, copy, and scale, and precision drawing operations such as object snapping. Also, in Grasshopper, it can be a good challenge for looping. In Rhino Python, it is already a good exercise for understanding Python and the…

Fractal Curves with Rhino Python

July 31, 2017

A simple Rhino Python script that generates fractal curves. An example is a test with the Gosper-Peano curve. However the script is not supporting segment directions, which is why the result is not the intended curve. Curve directions could be implemented in the future.

Fibonacci Spiral with Rhino Python

July 30, 2017

As studied earlier in Grasshopper here, the sunflower spiral, or Phyllotaxis, or Fibonacci’s spiral, could be drawn as an exercise of looping in Rhino Python. Phyllotaxis is the arrangement or patterning of leaves, flowers, or other plant parts around a stem or axis. Thus, it refers to the specific geometric arrangement of these structures in plants. The term “phyllotaxis” comes from the Greek words “phyllon” (meaning “leaf”) and “taxis” (meaning “arrangement” or “order”). Phyllotaxis can vary widely among different plant…

« 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 … 25 26 27 »
  • Chapters

    • Algorithms
    • Discourses
    • Fabrications
    • Studios
  • Explore

    • All Keywords
    • Table of Contents
    • Monthly Archive
    • #weaire-phelan
    • #kuka-prc
    • #le-corbusier
    • #parakeet
    • #shape-grammars
    • #sinan
    • #vbnet
    • #moulding
    • #octahedron
    • #art
    • #semi-regular
    • #arduino
    • #contouring
    • #paneling
    • #designcoding
    • #terrain
    • #rhombicosidodecahedron
    • #music
    • #maxscript
    • #dodecahedron
  • 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