Prototyping 16 Sep, 2014: Difference between revisions

From XPUB & Lens-Based wiki
Line 212: Line 212:


* [http://scratch.mit.edu/ Scratch]
* [http://scratch.mit.edu/ Scratch]
* [http://www.turtlegraphics.net/]
* [http://www.turtlegraphics.net/ Turtle graphics]
* [http://www.bfoit.org/Intro_to_Programming/TG.html/ codes]


== SVG ==
== SVG ==

Revision as of 15:42, 16 September 2014

Image+-/*=[Code]

Software is not neutral. We are shaped by our tools.

Software programs, apps, and code library represent concentrations of assumptions, aesthetics, design decisions and accidents. Understanding the stratified history of a tool can help to make strategic use of a given platform, or serve as a spring board from which to create new tools based on alternatives. Tools exist in a history and are situated in community of practice. Creative works are created in response to other works, wrought from conflicts, idiosyncracies, and often desperation of particular social situations. Artistic movements are typically "read" in retrospect as belonging to various "movements" in neat progression of precedents; but the actual dynamics are invariably more complex, ad hoc and contingent.

This course aims to assist you to become sensitive to the language of a system, the ways that tools press against their users, and tries to give insight in how to push back.

Flatland

File:Images/flatland ill intro.png
caption Flatland: A romance of many dimensions

Edwin A. Abbott 1838-1926 * link

Flatland

Flatland

The delicate touch of the highly organized Polygon

Those of my readers who recall the extracts I gave above from the Legislative code concerning Women, will readily perceive that the process of introduction by contact requires some care and discretion. Otherwise the angles might inflict on the unwary Feeler irreparable injury. It is essential for the safety of the Feeler that the Felt should stand perfectly still. A start, a fidgety shifting of the position, yes, even a violent sneeze, has been known before now to prove fatal to the incautious, and to nip in the bud many a promising friendship. Especially is this true among the lower classes of the Triangles. With them, the eye is situated so far from their vertex that they can scarcely take cognizance of what goes on at that extremity of their frame. They are, moreover, of a rough coarse nature, not sensitive to the delicate touch of the highly organized Polygon. What wonder then if an involuntary toss of the head has ere now deprived the State of a valuable life!

Wall Drawing 85

A wall is divided into four horizontal parts. In the top row are four equal divisions, each with lines in a different direction. In the second row, six double combinations; in the third row, four triple combinations; in the bottom row, all four combinations superimposed.

June 1971
Colored pencil
LeWitt Collection, Chester, Connecticut

src

Wall Drawing 85

Wall Drawing 85src

Wall Drawing 85

Implementing this description in software was an exercise in translation, simply converting the instructions into a format the computer will understand. Through this act, the decisions intended for the draftsperson were made by myself, the programmer. A few obvious differences appear as a result of this re-coding. Computer screens have a much coarser resolution than a wall and as a result, the finished work lacks the warmth of a drawn surface in a physical space. In addition, machines can draw lines with absolute precision so all the imperfections in a physical drawing are removed, giving the rendering different characteristics than those intended by LeWitt. Do these differences distort the result? If this is a work of conceptual art, the concept should remain regardless of the medium.

Casey Reas, Wall Drawing #85

Wall Drawing 85

File:Lewitt/ReasWallDrawing85.png
caption Wall Drawing 85 (Reas)

Wall Drawing 85

A benefit of working with software structures instead of programming languages is that it places the work outside the current technological framework, which is continually becoming obsolete. Because a software structure is independent from a specific technology, it is possible to continually create manifestations of any software structure with current technology to avoid retrograde associations

Software Structures

Digital (im)perfection

Lewitt's work has been a natural for computer scientists to pick up and "implement" -- drawing on their inherantly "algorithmic" nature. However, the production of the image in the "clean room" perfection of software may be seen to miss the point of the fact that the impact of the wall paintings rely in large part to the specifics of the room's they inhabit -- the social / architectural / specifics that there "execution" invokes.

But how "clean" is the digital. In fact each implementation engages in its own social / architectural / set of specifics if one looks beyond the "digital gleam" to the underlying systems these implementations are built out of.

Giving the finger (back) to the digital

In fact the word digital refers to our digits aka fingers. Digital as a concept refers to a representation of things using distinct units (usually reduced to "bits" or binary digits) and could refer as much to counting with whole numbers, and using an alphabet to write, as to a modern computing. You could also think about the digital as involving representations where one can write things down using a fixed set of symbols.

Other forms of the digital

Quipus (or khipus), sometimes called talking knots, were recording devices historically used in the region of Andean South America. A quipu usually consisted of colored, spun, and plied thread or strings from llama or alpaca hair.

Quipu (wikipedia)

Digital != Universal

It's maybe tempting to imagine the digital as something absolute, universal. In fact, digital representations (like any other) are based/biased on very human concerns (our understanding of human perception, culturally and historically determined notions of beauty or perfection).

Seamly software

Despite the glossy seamless appearance of many digital software tools, they in fact represent layers upon layers of historical developments which by their often divergent nature do not necessary combine effortlessly. The emphasis in modern UI design to give an appearance of solidity (think brushed steel interfaces) speaks to the effort needed to hide the underlying instability and hybridity of software.

Lena

Lena Lena

Common image used for testing / developing algorithms and software systems around (digital) images

Lena

File:Lena/11-72-adjust.jpg
caption Playboy Centerfold November 1972

Bitmap

Bitmaps are the most common digital representations of an image. Bitmaps are basically long lists of individual pixels (picture elements), as represented as triplets of numbers representing amounts of red, green, and blue.

RGB

File:Bitmap/400px-AdditiveColor.svg.png
caption Additive color mixing: adding red to green yields yellow; adding red to blue yields magenta; adding green to blue yields cyan; adding all three primary colors together yields white.

RGB color model (Wikpedia)

RGB

"Tartan Ribbon" The first permanent color photograph, taken by J.C. Maxwell in 1861 using three filters, specifically red, green, and violet-blue.

RGB

File:Bitmap/YoungHelm.jpg
caption YoungHelm "Thomas Young and Hermann Helmholtz assumed that the eye's retina consists of three different kinds of light receptors for red, green and blue"

In 1802, Young postulated the existence of three types of photoreceptors (now known as cone cells) in the eye, each of which was sensitive to a particular range of visible light.

Thomas Young and Hermann Helmholtz assumed that the eye's retina consists of three different kinds of light receptors for red, green and blue src

The existence of cells sensitive to three different wavelength ranges was first shown in 1956 by Gunnar Svaetichin

RGB

In the course of his 1855 paper on the perception of colour, Maxwell proposed that, if three black-and-white photographs of a scene were taken through red, green and blue filters and transparent prints of the images were projected onto a screen using three projectors equipped with similar filters, when superimposed on the screen the result would be perceived by the human eye as a complete reproduction of all the colours in the scene.

James Clerk Maxwell (1831–1879)

Scottish engineer related strongly to the subject of electro magnetism (Maxwells Laws)

Turtle Graphics

File:Turtle/Papert-x640.jpg
caption Seymour Papert with Turtle

SVG

SVG

SVG

Scalable Vectory Graphics (SVG) 1.1 -- W3C Recommendation

File:Svg/NewCoordSys.png File:Svg/MatrixRotate.png File:Svg/RotateScale.png File:Svg/MatrixTranslate.png File:Svg/Matrix.png File:Svg/MatrixMultiply.png File:Svg/Nested.png File:Svg/InitialCoords.png File:Svg/MatrixScale.png %20MDN_files/svgdemo1.png File:Svg/ViewBox-Width150.png File:Svg/Units.png File:Svg/Skew.png %20MDN_files/SVG_Stroke_Linejoin_Example.png %20MDN_files/SVG_Stroke_Linecap_Example.png %20MDN_files/SVG_Stroke_Dasharray_Example.png File:Svg/ViewBox.png File:Svg/NestedCalcs.png File:Svg/MatrixNested.png File:Svg/MatrixSkewY.png File:Svg/OrigCoordSys.png File:Svg/MatrixSkewX.png File:Svg/CTM.png File:Svg/test.png %20MDN_files/Shapes.png File:Svg/PreserveAspectRatio.png

SVG Resources

HTML5 Canvas

HTML5 Canvas

File:Canvas/canvas example code.png File:Canvas/canvas example.png

HTML5 Canvas

Canvas was initially introduced by Apple for use inside their own Mac OS X WebKit component in 2004,[1] powering applications like Dashboard widgets and the Safari browser. Later, in 2005 it was adopted in version 1.8 of Gecko browsers,[2] and Opera in 2006,[3] and standardized by the Web Hypertext Application Technology Working Group (WHATWG) on new proposed specifications for next generation web technologies.

[[Image:./canvas/worldclock_gray.jpg|Swiss design envy?]] [[Image:./canvas/Canvas_tut_examples.jpg]]

Swiss design envy

Swiss design envy

HTML5 Canvas

Workshop

4 ways of drawing:

  • Raw bytes / hex editor
  • Creating an SVG / text/code editor
  • Turtle graphics / Scratch
  • Canvas

Hex Editor Bitmap

Turtle Graphics / scratch

SVG

Canvas