1 / 20

Prepared by Arch PhD Antonino Di Raimo

UNIVERSITETI POLIS SHKOLLA NDERKOMBETARE E ARKITEKTURES DHE POLITIKAVE URBANE. Coding. Write the shape! (An introduction to coding as critical tool in architecture). Prepared by Arch PhD Antonino Di Raimo. Algorithm. through the metaphor of the recipe,

Download Presentation

Prepared by Arch PhD Antonino Di Raimo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. UNIVERSITETI POLIS SHKOLLA NDERKOMBETARE E ARKITEKTURES DHE POLITIKAVE URBANE Coding Write the shape! (An introduction to coding as critical tool in architecture) Prepared by Arch PhD Antonino Di Raimo

  2. Algorithm through the metaphor of the recipe, now we can explain the concept of algorithm An algorithm can be intended asstep-by-stepprocedure 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 Prepared by Arch PhD Antonino Di Raimo

  3. list of instructions they have to be...written computer machine language task(s) Prepared by Arch PhD Antonino Di Raimo

  4. language Language: human (or animal) capacity of conceptualizing, defining and using complex systems of communication

  5. complexity of language observed in bees behavior Credits: http://www.americasbeekeeper.com/Private_Gallery.htm

  6. Credits NASA (Pioneer 10 and 11) Prepared by Arch PhD Antonino Di Raimo

  7. human communication with the computer GUI (Graphical user interface) original 1984 Mac OS desktop

  8. Material object or GUI? Prepared by Arch PhD Antonino Di Raimo

  9. ...Or a combination between graphical and material (interface) Prepared by Arch PhD Antonino Di Raimo

  10. flight instruments (military aircraft)

  11. relationship! Robert Doisneau – Le baiser de l’Hotel de Ville,1950

  12. 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

  13. Processing is an open sourceprogramming 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: www.processing.org) Prepared by Arch PhD Antonino Di Raimo

  14. 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

  15. 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

  16. Prepared by Arch PhD Antonino Di Raimo

  17. Prepared by Arch PhD Antonino Di Raimo

  18. 1,2,50,etc. Used to count 2.567,π, etc. Perform math operations True, false, etc. Verify conditions Words and words... Store characters Wait for Rhino... Variables 1) INTEGERS 2) FLOATINGS 3) BOOLEANS 4) STRINGS 5) NULL VARIABLE Prepared by Arch PhD Antonino Di Raimo

  19. A computer program (also software, or just a program) is a sequence of instructions written to perform a specified task with a computer.[1] A computer requires programs to function, typically executing the program's instructions in a central processor.[2] 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

  20. 0) Choose a plant! 1) Take a picture of it 2) Publish it on your blog 3) Bring the plant at school! Prepared by Arch PhD Antonino Di Raimo

More Related