Contents

About the Author

About the Technical Reviewer

Acknowledgments

Foreword

images Chapter 1: Introduction

What You Need to Know

CSS

Debugging

Browser Compatibility

JavaScript Console

Sources

Timeline

Canvas Profiles

Summary

images Chapter 2: Canvas and Animation Basics

What Is Canvas?

RequestAnimationFrame

Linear Interpolation

Follow the Mouse

Bouncing Box

“Clever” Animation

Introducing Drag-and-Drop

Making the Paintbrush

Summary

images Chapter 3: Audio and Video Basics

Containers and Codecs

Containers

Codecs

Encoding Videos

Browser Compatibility

Using the <audio> and <video> elements

<audio>

<video>

Attributes and Properties

Controls

Autoplay

Preload

Loop

Played

Buffered

Duration

Volume

Playback Rate

Network State

Web Audio API

Analyzing Audio

Frequency Visualization

Spectrogram

Web Audio API Nodes

Manipulating Video

Summary

images Chapter 4: Beginning 3D

Basics of 3D

Three.js

Data Visualizations

Summary

images Chapter 5: Creating Music in the Browser

Music Theory

Creating a Keyboard

Summary

images Chapter 6: The Music Player

Media Player

Specification

Where to Start

Playlists

Player Object

Main App View

Drag and Drop

Integrating the Music Creation

Music Visualization

Summary

images Chapter 7: Real-time Collaboration with Node.js

Making a Chatroom

Installing Node.js

Socket.IO and Express

Summary

images Chapter 8: Video-to-Video Using WebRTC

Introduction to WebRTC

GetUserMedia(   )

Specifications

Servers

Where to Start?

Technologies Behind WebRTC

ICE

NAT Traversal

STUN/TURN

SDP

Client-side Code

Summary

images Chapter 9: Motion Detection

An Introduction to Motion Detection

Boilerplate for Video Manipulation

Basic Video Manipulation

Motion Detection

Motion Tracking

Haar-like Features

Viola–Jones

Using js-objectDetect

Summary

images Chapter 10: Interacting with the Browser Using Gestures

Taking the Keyboard Server-Side

Controlling the Music with a Webcam

Summary

images Chapter 11: Appendix

The Future

Further Reading

Algorithms

Links

Chapter 1

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.144.194