code for design (4) 썸네일형 리스트형 Code for Design, Data, and Programming Code for design as tool Vector Numerical representation of vectors Length double length = Math.Sqrt(v.x * v.x + v.y * v.y + v.z * v.z); Multiplication by a number(scalar) double scalar = 2.5; Vector v1 = new Vector( v0.x * scalar , v0.y * scalar , v0.z * scalar); Vectors as differences of Points double distance = Math.Sqrt( (p0.x - p1.x) * (p0.x - p1.x) + (p0.y - p1.y) * (p0.y - p1.y) + (p0.z - p1.z) * (p0.z - p1.z) ); Unit V.. Point / Line / Curve / Polyline / Polygon / Surface / Mesh as data structure The key to the computational design is to translate the real-world data to the digital world as forms of geometries: setting up relationships, dependencies, and hierarchies, which become eco-ystem for the design process. This live environment allows designers to use literal computational thinking and its methodologies to develop the design process efficiently. Not being constrained by tools and .. Color as design data 이전 1 다음