Presentation on theme: "Prepared by Arch PhD Antonino Di Raimo UNIVERSITETI POLIS SHKOLLA NDERKOMBETARE E ARKITEKTURES DHE POLITIKAVE URBANE Write the shape! (An introduction."— Presentation transcript:
Prepared by Arch PhD Antonino Di Raimo UNIVERSITETI POLIS SHKOLLA NDERKOMBETARE E ARKITEKTURES DHE POLITIKAVE URBANE Write the shape! (An introduction to coding as critical tool in architecture) Coding
Algorithm An algorithm can be intended as step-by-step procedure for computation. Algorithms are used for calculation, information processing, and automation. A finite list of instructions for calculating a result (or an outcome) of a procedure It starts with an initial state and initial input Thorough a finite number of states it produces a final output through the metaphor of the recipe, now we can explain the concept of algorithm Prepared by Arch PhD Antonino Di Raimo
machine computer task(s) list of instructions they have to be...written language
Language: human (or animal) capacity of conceptualizing, defining and using complex systems of communication language
Credits: complexity of language observed in bees behavior
Prepared by Arch PhD Antonino Di Raimo Credits NASA (Pioneer 10 and 11)
human communication with the computer GUI (Graphical user interface) original 1984 Mac OS desktop
Prepared by Arch PhD Antonino Di Raimo Material object or GUI?
Prepared by Arch PhD Antonino Di Raimo...Or a combination between graphical and material (interface)
flight instruments (military aircraft)
Robert Doisneau – Le baiser de l’Hotel de Ville,1950 relationship!
Prepared by Arch PhD Antonino Di Raimo Program as a list of instructions, written in a certain language Program is used to perform a task o multiple tasks Instructions are written in order to perform tasks through a computer, or a machine (in which the computer can be embedded) Writing is a central and crucial matter of the communication with the computer
Prepared by Arch PhD Antonino Di Raimo Processing is an open source programming language and environment for people who want to create images, animations, and interactions. Initially developed to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing also has evolved into a tool for generating finished professional work. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production. (from:
Prepared by Arch PhD Antonino Di Raimo General menu: file, edit,etch... Icons (main icons are run and stop) Text Editor (you write your programs here) Processing feedbacks (messages from Processing)
Prepared by Arch PhD Antonino Di Raimo 1) statement The statement can be intended as a declaration inside the program. It has to be written according to the specific syntax of the language 2) expression In the statements we can find also expressions. These are mathematical operations, that return a value; in some languages statement do not return any value. 3) Variables One of the most important concept. We take time to explore it.
Prepared by Arch PhD Antonino Di Raimo
Variables 1) INTEGERS 2) FLOATINGS 3) BOOLEANS 4) STRINGS 5) NULL VARIABLE 1,2,50,etc. Used to count 2.567, π, etc. Perform math operation s True, false, etc. Verify conditions Words and words... Store characters Wait for Rhino...
Prepared by Arch PhD Antonino Di Raimo A computer program (also software, or just a program) is a sequence of instructions written to perform a specified task with a computer. A computer requires programs to function, typically executing the program's instructions in a central processor. The program has an executable form that the computer can use directly to execute the instructions. The same program in its human-readable source code form, from which executable programs are derived (e.g., compiled), enables a programmer to study and develop its algorithms. Computer source code is often written by computer programmers. Source code is written in a programming language that usually follows one of two main paradigms: imperative or declarative programming. Source code may be converted into an executable file (sometimes called an executable program or a binary) by a compiler and later executed by a central processing unit. Alternatively, computer programs may be executed with the aid of an interpreter, or may be embedded directly into hardware. Computer programs may be categorized along functional lines: system software and application software. Two or more computer programs may run simultaneously on one computer, a process known as multitasking.
Prepared by Arch PhD Antonino Di Raimo 0) Choose a plant! 1) Take a picture of it 2) Publish it on your blog 3) Bring the plant at school!