codexdesign

code and design experiences for beginners

Text and Image Content ( javascript )


code notes: Text and Image Content introduces both code for integrating visual information using available and code for creating arrays. Arrays are important and powerful mechanisms for holding multiple values.

design notes: Text and Image Content enables the integration of typography and photography/illustration in code projects.


design card

code: text, textSize, textAlign
content: text

design card

code: text, textSize, textAlign
content: text

design card

code: text, font
content: typography
requires modification of the html document

design card

code: String (new datatype!)
content: text content

design card

code: loadImage, image
content: bitmap image
requires local host, see documentation within

design card

code: loadImage, image
content: bitmap image, with rgb tint
requires local host, see documentation within

design card

code: loadImage, image
content: bitmap image, with hsb tint
requires local host, see documentation within

design card

code: loadImage, image
content: bitmap image, with filter
requires local host, see documentation within

design card

code: loadImage, image, plus
content: bitmap images, with filter
requires local host, see documentation within

design card

code: point review
content: what does one pixel look like? see white point center

design card

code: set, updatePixels
content: pixels, manipulating pixels

design card

code: array
content: accessing array

design card

code: array, .unshift
content: adding

design card

code: array, .shift
content: removing

design card

code: array, .push
content: adding

design card

code: array, .pop
content: removing

design card

code:array, .length
content: checking array length

design card

code: array
content: colors

design card

code: array
content: colors, click thru

design card

code: array
content: colors, autoplay

design card

code: String array
content: text, external txt file
requires local host

design card

code: array
content: text, mouse event, random

design card

code: array
content: storing user event values in an array