Graphics Programming Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/66

flashcard set

Earn XP

Description and Tags

Flashcards covering the key concepts from the Graphics Programming course notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

67 Terms

1
New cards

We can use _ to apply transformations to the canvas.

scale(), translate(), and rotate()

2
New cards

The functions _ let us create a sandbox of where transformations and styles will be applied.

push() and pop()

3
New cards

Using the _ keyword, we can define classes in JavaScript.

class

4
New cards

Vectors have a _.

direction and a magnitude

5
New cards

We can create a new vector with _ function.

createVector()

6
New cards

To add two vectors, we use the _ function which is part of the vector.

add()

7
New cards

To subtract two vectors, we use the _ function which is part of the vector.

sub()

8
New cards

To scale a vector, we can multiply or divide the vector by a scaler. We can achieve this with _ functions.

mult() and div()

9
New cards

We can get the magnitude of a vector with _.

mag()

10
New cards

We can normalize a vector with _.

normalize()

11
New cards

Acceleration is the _ of an object over time.

rate of change of velocity

12
New cards

Velocity is the _ of an object over time.

rate of change of the location

13
New cards

A force is _.

A vector that causes an object with mass to accelerate

14
New cards

Newton’s Second Law is _.

Force = Mass × Acceleration

15
New cards

To implement Newton’s Second Law in P5.js we will simply _.

add all forces acting on an object to the object’s acceleration

16
New cards

In P5.js, gravity is essentially _.

a vector without an x component

17
New cards

To calculate friction we first get the _ vector.

velocity

18
New cards

Collision detection is the _.

computational problem of detecting the intersection of two or more objects

19
New cards

To manage the complexity, the Collision detection problem is broken down into two phases: _.

Broad and Narrow

20
New cards

A physics engine _.

simplifies the work of simulating physical forces and interactions

21
New cards

_ is a simple library implementing a 2D physics engine.

Matter.js

22
New cards

Matter.js also has the hability of giving bodies _.

angular velocity

23
New cards

_ refers to art that has been created with the use of an autonomous system.

Generative Art

24
New cards

Generative Art can be employed in procedural generation of game maps. For example, that was used in the old _ game in the form of an LFSR for generating the maps and enemies in a quasi-random method.

River Raid

25
New cards

_ is one of the main pillars of genetive art.

randomness

26
New cards

In general, our computers generate what we call _.

pseudorandom numbers

27
New cards

To generate pseudorandom numbers, such algorithms use an initial value, called the _.

seed

28
New cards

Perlin Noise was created by _ in the early 1980s, first used in the film Tron (1982).

Ken Perlin

29
New cards

In the _, points are determined by the distance from the origin in an angle from the polar axis.

Polar Coordinate system

30
New cards

So far we have been dealing only with _, which is similar to Cartesian Coordinates.

Screen Coordinates

31
New cards

Given a right-angle triangle with angle φ, we can state the following _.

sin φ = opposite hypotenuse, cos φ = adjacent hypotenuse, tan φ = opposite adjacent

32
New cards

In a Polar Coordinate system, the radial coordinate is often denotes by and the angle .

r and θ

33
New cards

The wave that is formed by plotting the sine function has an _.

amplitude and a period

34
New cards

_ denotes where the object is in the cycle.

phase

35
New cards

For occasions when we want to add sine waves together and, perhaps, add noise on top, we can use _.

additive synthesis

36
New cards

A _ is a geometric shape that can be split into parts, each of which is a smaller version of the whole.

fractal

37
New cards

_ discusses his experience being an independent game developer.

Alan Zucconi

38
New cards

_ discusses his experience being a computational artist and educator. He has worked as a computer graphics supervisor for the Matrix films and Avatar.

Andy Lomas

39
New cards

As a primer, the 3D graphics in our scene will be rendered by _.

WebGL

40
New cards

The simplest material is the _ which assigns a color relative to the object center for every 3D vertex.

Normal Material

41
New cards

To change the camera settings, we use the _ function which takes three pa- rameters: Position, Viewing Direction, and Up Direction.

camera()

42
New cards

There are four characteristics of perspective: _.

Field of View, Aspect Ratio, Near Plane, and Far Plane

43
New cards

_ is a combination of multiple wavelengths.

Daylight (or white light)

44
New cards

Our eyes have three photosensitive receptors: _.

Rods, Cones, and intrinsically photosensitive retinal ganglion cells

45
New cards

The _ colourspace is referred to as an Additive Colour system.

RGB

46
New cards

The _ space is a little easier than RGB, for finding a specific color.

HSB (Hue Saturation Brightness)

47
New cards

There are three main colour harmonies: _.

complementary, triadic, and analogous

48
New cards

There are two general categories of images: _.

bitmaps and vector images

49
New cards

PNG is an open standard which supports an extra channel, the _ channel, for transparency.

alpha

50
New cards

Bitmaps are made of _.

pixels

51
New cards

Pixels are displayed in a grid with (0, 0) being the top-left corner, however they are stored in memory as a _.

long array

52
New cards

_ encompasses any application of Computer Algorithms to process digital images.

Digital Image Processing

53
New cards

The _ will invert all colours in every pixel.

invert filter

54
New cards

This filter should result in an image without any saturation in any of the colors. The simplest way to get there is by _.

averaging all three color channels

55
New cards

The _ will force pixels above a threshold to white and pixels below the threshold, to black

threshold filter

56
New cards

In 2D convolutions, we produce _ which are matrices.

kernels (or masks)

57
New cards

The _ discovers the boundaries between regions in an image and helps us separate objects from the background.

edge detection filter

58
New cards

The _ is the opposite of the blur filter.

Sharpen filter

59
New cards

_ is about being able to process video/image data in a way that allows a computer to make decisions.

Computer Vision

60
New cards

The first Computer vision technique we look at is _.

brightness tracking

61
New cards

In colour tracking, we rely on the _ to calculate how the pixel color is from a given color.

Euclidean Distance

62
New cards

_ allows us to find people or other objects in a scene by identifying which pixels belong to the background.

Background Subtraction

63
New cards

_ is used for detecting movement.

Frame Differencing

64
New cards

_ is defined as the apparent motion of pixels on an image.

Optical flow

65
New cards

Most optical flow algorithms also work with _, since color is not important

grayscale images

66
New cards

If _, optical flow can be used to estimate the camera movement and, therefore, offset the image and stabilize it.

the camera is moving

67
New cards

_ is a technique for detecting the presence of a face in a scene.

Face Detection