liveBook · Manning

Trigonometry

Trigonometry is the branch of mathematics studying relationships among angles, lengths, geometric ratios, coordinates, and periodic functions.

How 2 Manning books explain it

Math for Web Design

Trigonometry is the branch of mathematics concerned with relationships among the sides and angles of triangles.

How it is used
Uses triangle-angle relationships to position elements in circular layouts and create curved motion and wave effects.
How deep it goes
Defines sine, cosine, and tangent as side ratios, then works through circle coordinates and CSS and JavaScript positioning.
Examples
Works through a six-item radial menu and shows JavaScript and CSS circular-menu implementations alongside a sine-wave animation.
What you can do after
Build it from scratch: calculate circular element positions with JavaScript or CSS and apply sine to a repeating UI effect.

Read how Math for Web Design explains trigonometry →

D3.js in Action, Third Edition

Trigonometry is the branch of mathematics that relates angles to lengths and coordinates in geometric figures.

How it is used
Positions radial visualization axes by converting angles and radii into SVG coordinates.
How deep it goes
Derives sine and cosine coordinates from a right triangle, then applies radians and coordinate-system direction in code.
Examples
Uses a twelve-month radial chart with a circle, month axes, labels, radius, and a centered SVG coordinate system.
What you can do after
Build it from scratch by calculating radial SVG endpoints from angles, radii, sine, and cosine.

Read how D3.js in Action, Third Edition explains trigonometry →

Also covered in

What to know first

Related concepts

Questions about trigonometry

What is trigonometry?

Trigonometry is the branch of mathematics studying relationships among angles, lengths, geometric ratios, coordinates, and periodic functions.

Which Manning books explain trigonometry?

Math for Web Design and D3.js in Action, Third Edition.

What should I know before learning trigonometry?

Manning books that teach trigonometry usually introduce degrees, function, angle and numeric pi first.

What kinds of trigonometry are there?

Kinds of trigonometry include cosine function, sine function and tangent.

What is trigonometry a kind of?

Trigonometry is a kind of mathematics. Mathematics is the formal study of quantities, structures, space, change, patterns, and relationships through abstraction and logical reasoning.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.