The Question 2.3: Visual expression 2 – 2D sketches homework for Week 2 of Design: Creation of Artifacts in Society required me to sketch a chair from top, front and side views as well as a cross-section of the chair.
Tag: sketch
The Question 1.3: Visual expression 1 – The basics (V) homework for Week 1 of Design: Creation of Artifacts in Society required me to draw a sketch of a chair. The goal of this assignment was to get me comfortable with the basics of sketching to ensure I can create a quality output of the […]
I’m having trouble with the surfaceTouchEvent in the Responding to touch interaction recipe from the Processing 2 Creative programming cookbook source code on GitHub. I’ve worked through the Troubleshooting, Discussion and Known issues, Common problems, Understanding changes to processing.core sections of the Android page of the Processing Wiki, but still no success. Unsurprisingly, someone else posted a […]
Making my way through the Accessing screen size and density recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the Android DisplayMetrics class to determine general information about the display of the device used to run the sketch. While this is more of a diagnostic […]
Making my way through the Drawing triangle and quad strips recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the QUAD_STRIP and TRIANGLE_STRIP parameters inside the beginShape function to draw triangle or quad 3D geometry to screen. With some work, QUAD_STRIP and TRIANGLE_STRIP could be used to […]
Mixing 2D and 3D objects
Making my way through the Mixing 2D and 3D objects recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the ENABLE_DEPTH_TEST and the DISABLE_DEPTH_TEST parameter inside the hint function at the beginning and end of the draw function to to enable and disable the z buffer. This […]
Making polygon soup
Making my way through the Making polygon soup recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to create a 3D cylinder with a flexible function that allows for the top, bottom and sides of the cylinder to be customised. In this recipe, the QUAD_STRIP parameter (draws a series […]
Using lights
Making my way through the Using lights recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe, I learned how to declare the lightMode and lightDirection integers to allow for different lighting modes to be activated. Inside the setUp function they’re assigned a value of 0 and then referenced again in the if test. […]
Drawing 3D primitives
Making my way through the Drawing 3D primitives recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how: the box function can be used with one or three parameters to set different values for depth, width and height of the box. the sphereDetail function can be used to define […]
Understanding 3D space
Making my way through the Understanding 3D space recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how set a variable for depth and zSpeed and also how to change the variable inside the draw function for animation. I also learned that if you want to use the rect […]
Offscreen drawing
Making my way through the Offscreen drawing recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to: declare a PGraphics object and then initialise it with the createGraphics function inside the setup function. use the createGraphics function to create a new transparent image to be drawn on and […]
Manipulating SVG files
Making my way through the Manipulating SVG files recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned: more about using the shape function to draw shapes in the display window how to declare the PShape object and create custom variables (snowFlake, small1 to small6 and big1) and the disableStyle, […]
Calculating points on a curve
Making my way through the Calculating points on a curve recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the bezierPoint and curvePoint functions to calculate points on curves and splines. bezierPoint uses five parameters. The first four are coordinates for the anchor and control points […]
Working with colours
Making my way through the Working with colours recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the color function to create a variable of the type colour (c = colour variable), the stroke function to set the colour of the stroke, the fill function to […]
Drawing basic shapes
Making my way through the Drawing basic shapes recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned how to use the rect, ellipse, quad and triangle functions to draw basic geometric shapes. I also found it interesting how two for loops are used to create the grid background pattern. I’m curious […]
Keyboard interaction
Making my way through the Keyboard interaction recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned about using keyPressed, keyReleased and keyTyped functions to assign keys on the keyboard to execute code and also a bit more about if tests and declaring variables, particularly changing their values when specified keys are […]
Mouse interaction
Making my way through the Mouse interaction recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned about the mouseClicked, mouseDragged, mouseMoved, mousePressed and mouseReleased functions. I also learned about the mouseX, mouseY, pmouseX, pmouseY, mousePressed and mouseButton variable. The mouseButton variable allows you to determine if the left, right […]
Maths functions
Making my way through the Maths functions recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned about declaring variables and the abs, ceil, floor, round, sq, sqrt, min, max, and dist functions. I also learned how to use the println function to display output of functions to the Processing console window. […]
Using a for loop to draw lines
I wanted to draw a grid. Previously, I specified each horizontal and vertical line in my sketch. Totally boring, inefficient and completely inflexible way to draw repetitive lines. So, I checked out the Processing reference on for loops and then applied that methodology to my existing sketch. Tight! This could be the method to use to […]
Drawing lines
This probably isn’t the most efficient way to draw lines to form a grid pattern, but this method is helping me to understand the coordinate system. The most efficient way would probably be to use a for loop. They’re next.
My first sketch
Making my way through the My first sketch recipe from the Processing 2 Creative programming cookbook source code on GitHub. In this recipe I learned about the size (displayWidth and displayHeight have now replaced screenWidth and ScreenHeight), setup, draw, point, line and strokeWeight functions.
During the initial design stage of an activity I like to use pen and paper to quickly map out the flow of the activity. The tactile nature of paper allows for scribbles and scrawls, coloured pens or pencils, hasty redraws, cutting, tearing, taping and a rendezvous with the scanner or photocopier. I think something like […]