## ZOOM Math: 3D Animation …. USA units

July 4, 2020

Middle school students around the world have been learning maths via Zoom. ZOOM needs computers & WIFI. There are so many resources online but I cannot over-emphasise the amazing 3D skills developed just by playing with objects in TINKERCAD(See logo above. More info below) Anyone who wants to work developing video games or animated films has to understand the logic and maths of 3D. Read on. And it is more challenging than you might think.

# 1. Storyboard Sketches

The Pixar ﬁlm, Finding Dory, began as storyboard sketches. There were 103,000 drawn for the ﬁlm. The sketches are placed side-by-side in sequence in order to convey scenes and deliver a rough sense of how the story unfolds.

How many 64-page Exercise books would the storyboard take?

Only one side of the page of the 64-page exercise book would be used for storyboarding.

## No. exercise books = 102,000/32  =  3,187.5

If put into flip Book form the storyboard sketches would produce a ‘rough’ version of the film.

# 2. Ratio

If you are making a film about, say, Godzilla, you want him to be big. VERY BIG. But he has to share a screen with human characters.

If Godzilla is too big all the humans look like ants.

If he is too small … he looks like a toy TRex.

# The Monster Maths:

Height: 355ft  Godzilla’s towering height in the 2014 film—the tallest onscreen incarnation ever

Tail: 550ft 4in Total length of Godzilla’s spiked tail.

Volume: 90,000 tons Godzilla’s volume if filled with water

Teeth: 3.51 ft Length from the root to the tips of Godzilla’s canine teeth

Teeth: 60 Teeth in Godzilla’s mouth

Roar: 3 miles. Approximate distance Godzilla’s roar reverberates. (100,000W Power of the 12-foot-high, 18-foot-wide speaker array from which the sound designers blasted Godzilla’s roar to record the sound in a “real world” context)

Feet: 58ft  Total width of Godzilla’s feet across the widest point

Feet: 60ft  Length of Godzilla’s footprint from toe to heel

# You vs Godzilla

The average height for 14-year-old boys in the U.S. is 64.5 inches or 5 feet 4½ inches.

For 14-year-old girls in the U.S. the average height is 62.5 inches or 5 feet 2½ inches.

Godzilla = 355ft

14 yo =  5’ 3”

# 355/5.25= 67.6 = 68

To make a 3D graph like this see below.

## Footprint

You vs Godzilla’s Footprint

# 60/5.25 =  11.4

## Teeth

You vs Godzilla’s Tooth

# 3. 3D Modeling: Polygon Count

3D modeling can be approached in several ways. There is a good explanation here.

One method is to use a 3D scanner to produce a 3D mesh.

Godzilla model under construction

Digital Godzilla as 3D mesh

The mesh consists of polygons. You’ll find everything you want to know about polygons here.

The greater the no. of polygons the better the resolution in a 3D mesh, the better the resolution of the character or object as more shading and texture variation can be added.

So the POLYGON COUNT or POLY COUNT is a measure of the quality of an image.

Here are some POLY COUNTS:

## Godzilla

500,000 polygons.

It took the 4 CGI artists 6 months to fully nail the texture of Godzilla’s scales. (See above)

## Elysium

Just the space station ran close to 3 trillion polygons.

## Clash of the Titans

The Kraken had 7 million Polygons.

## Avatar

Apart from some bluescreen shots of live-action actors in cockpits, it’s all CG: gunships, missiles, smoke trails, water, fire, an army of photorealistic virtual characters, and a giant tree made of 20 million polygons with 1.2 million leaves.

More here.

## Lord of the Rings – The Two Towers (2002)

(See below)

The Gollum head model consisted of just over 2,600 polygons, which were mostly quads.

More here.

# Film Animation vs Game Animation

The POLY COUNT is always greater in animated movies than in video games mainly because a higher poly count takes longer and costs more. A higher resolution is needed in a movie as it is shown on a much bigger screen.

Gollum: Game vs Film 3D model

Here are some POLY COUNTS for some popular games:

The Amazing Spiderman

Spiderman – 11,652

Assassin’s Creed 3

Benjamin Franklin – 17,744

Charles Lee – 25,994

Connor Kenway – 28,501

Desmond – 14,934

Haytham Kenya – 19,985

Batman: Arkham City

Batman: Film Version

Batman: Game Model

Batman Beyond suit – 13,050

Harley Quinn – 17,731

Harley Quinn (DLC) – 19,110

Poison Ivy – 15,977

Call of Duty: Black Ops

Frank Woods (full gear) – 19,777

Crysis 2 (console)

Nano suit – 19,073

Multiplayer suit – 27,414

# FREE 3D MODELING FOR MIDDLE SCHOOL STUDENTS

TINKERCAD is the free online resource that allows students to create their own 3D graphs – like Godzilla vs You (above) or 3D images that can be used for 3D printing. Play with the program. Mathspig had a little play and produced the genetically challenged chicken (below).

Find here.

Drag and drop shapes.

More here.

Play with shape dimensions.

More here.

Create figures for 3D printer.

MATHSPIG REPORT CARD: More playing with program needed!!!

## Hair Maths 1: The curly problem with curly hair

May 6, 2015

…………………………………………………………………………

More about Troy’s \$million hair here. Hair statistics including how many hairs a human has on their head here.

Mathspig studied hair chemistry at uni. Tricky stuff. Put simply, hair is made of long strands of protein called keratin held together by sulphur (and some hydrogen) bonds. To curl hair, the keratin strands in the outer curve of each hair has to be stretched with curling tongs or hair curlers, heated and dried. The bonds in each hair reform with one side longer than the other … Hence, the hair curls like gift-wrap ribbon. But high humidity allows hair to reabsorb water and straightened hair just goes psycho curly again!

This excellent hair diagram comes from The Chemistry of Shampoo and Conditioner, in an article by EMMA Dux for the Royal Australian Chemical Institute

Some people are born with hair follicles that produce keratin at different rates across the follicle. They have curly hair. Hair perms chemically break and reform the sulphur bonds while the hair is held in small curlers (curly hair) or a very big curlers(relatively straight hair.) thus permanently curling the hair.

# Here’s the Maths:

Curly hair looks like a 3D Helix.

More on 3D helix maths here

But, in fact, one strand of curled hair looks more like a spiral staircase.

The outer edge of the staircase is longer than the inner edge.

More helix maths here.

# CHALLENGE:

Mathspig doesn’t expect Middle School students to plot a 3D Helix. But if they have started TRIGONOMETRY then they can see that the maths they are studying is used in CGIs for films and computer games in this case to generate realistic curly hair!!!! That’s cool. This maths was needed to model Merida’s curly hair in  BRAVE.

# SMARTY PANTS CHALLENGE:

Some middle school students could calculate some points on the helix.

Now students must be introduced to radians.

Simple EXPLANATION: Angles eg. 300 are not useful in calculations but fractions are very useful.

Eg. The circumference of a circle:

C = 2πr

Now imagine if you scan with a floodlight set at a radius of 1 km. So:

C = 2π

So the circumference is 2π.

You scan ¼ of a circle, the distance the light moves is ¼(2π)

or ½ π or 1.57 km (see below)

This measurement of an angle is in RADIANS.

00     = 0 circle = 0

450   = 1/8 circle = 2π/ 8 = 2 (3.14) /8 = 0. 79

900   = 1/4 circle = ½ π = ½ (3.14) = 1.57

1350   = 3/8 circle = ¾ π = ¾ (3.14) = 2.36

1800= 1/2 circle = π = 3.14

2250   = 5/8 circle = 5/4 π = 5/4(3.14) = 3.93

2700 = 3/4 circle = 3/2 π = 4.71

3150   = 7/8 circle = 7/4 π = 7/4 (3.14) = 5.50

3600 = 1 circle = 2π = 6.28

…………………………………………………..

You will find Cos  tables at NASA Sine tables at Mathhelp

Advanced students may want to look at what the Uber Geek 3D Helix generating program at the free graph website PLOTLY here.

## Maths Mystery Box 8: JUNK FOOD

February 16, 2015

Middle School Maths Challenge

Make a 3D graph or Make Like a Pringle

Pringles are mathematically yummy because each Pringle is a little 3D graph called a Hyperbolic Paraboloid or – YeeHa! – it’s a saddle.. You will find information about Hyperbolic Paraboloid at the fab Math Jokes 4 Mathy Folks blog  here and here.

You may have drawn 2D graphs. Bar graphs, Pie Charts and Linear Graphs.

A linear graph will have the equation

y = mx + c

You might have looked at quadratic equations such as the parabola:

Y = ax2 + bx + c

So what could a 3D graph of a saddle look like? Well, you have to add a z so that you have an x-axis, y-axis and a z-axis.

# The BIG challenge

Can you make a hyperbolic paraboloid? The most mathematically amazing feature of the hyperbolic paraboloid is that it can be constructed from straight lines.

Here’s How:

### 1. Cardboard and wool:

You need:

* cereal box

*wool

*ruler & scissors.

Instructions:

Cut a 15cm x 15 cm  square out of the cereal box.

Fold it diagonally.

Cut slots at 1cm interval.

Thread wool into opposite slots as shown (below).

NB: The thread should be a straight line.

Detailed instructions here.

…………………………………………………………………

### 2. Wooden skewers

You will find full instructions at the Mathscraft blog.

…………………………………………………………………

### 3. Cardboard only

Here is another way to make a hyperbolic paraboloid using cardboard. You will find full instructions including a video at Mathscraft.

…………………………………………………………………

# 4. Bubble

You will find more about the geometry of soap films here.

More intriguing information about all sorts of geometric bubbles here at The Wonderful World of Soap Bubbles.

…………………………………………………………………

## The Hyperbolic Paraboloid in Construction

The structure is often used today for rooves.