Parametric Design 2015. 6. 1. 06:10

What is a program?


A program is a sequence of instructions that specifies how to perform a computation.


Inputs: Initial data a program needs to operate.


Output: The return or result once a program is executed


Math: Performance of mathematical operations


Conditional execution: Checks for a certain condition to meet and t hen executes a code depending of this


Repetition: Perform some action repeatedly, usually with some variation


What is an algorithm?


A set of rules that precisely defines a sequence of operations to produce an output (It's just a recipe)


Variables


One of the most powerful features of a programming language is the ability to manipulate variables. A variable is a name that refers to a value.

The type of a variable is the type of the value it refers to.


-Integers and Doubles


These are the types of variables that deal with numbers.


Integers are used to store whole numbers and mostly they are used for counting.


Doubles in the other hand deal with decimal numbers which are used mainly for more precise calculations


-Booleans 


While numeric valuues are good for counting and calculating there are sometimes we need to evaluate conditions, for example:

"The cup has to be filled more than half."

In this statement more than half is a condition therefore we need a type of variable to tell us if this condition is either TRUE or FALSE and those are the Boolean variables.


-Strings


Strings are the variables used to store text.


-Operators


Operators are special symbols that represent computations like addition and multiplication. The values the operator is applied to are called operands.


For example the operators +, -, *. / and ** perform addition, subtraction, multiplication, division and exponentiation.


Functions


In the context of programming, a function is a named sequence of statements that performs a computation. When you define a function, you specify the name and the sequence of statements. Later, you can "call" the function by name.


Debugging


Programming erros are called bugs and the process of tracking them down is called debugging.


Syntax errors


Syntax refers to the structure of a program and the rules about that structure. For example, parentheses have to come in matching pairs, so (1+2) is legal, but 8) is a syntax error.


Runtime errors


This errors does not appear until after the program has started running. These errors are also called exceptions because they usually indicate that something exceptional (and bad) has happened.


Semantic errors


If there is a semantic error in your program, your program will run successfully in the sense that the computer will not generate any error messages, but it will not do the right thing. It will do something else.


Computational Geometry & Graphics


In order to fit the needs of producing Geometry aas an output a link between Computation and Geometry was necessary. 

Computational geometry and computer graphics both consider geometric phenomena as they relate to computing. Computation geometry provides a theoretical foundation involving the study of algorithms and data structures for doing geometric computations. Computer graphics concerns the practical development of the software, hardware and algorithms necessary to create graphics (i.e. to display geometry) on the computer screen.


Understanding the basics of Computational Geometries & Graphics is fundamental as they are the base under which parametric design relies.



Principles of Parametricism (Positive)


- Soft forms malleable & intelligent

- Differentiation Arrays of components coherently differentiated

- Correlation Systems and subsystems relate to each other


Parametric design is defined by the way is created


Therefore, parametric design is not a style, it is also not defined for what it does but rather the way it is created which is when a designer explicitly states the relationships and outcomes from a set of parameters.





Posted by Parametric Culture