560 supercharged javascript graphics

280 121 0
560 supercharged javascript graphics

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

...www.it-ebooks.info Supercharged JavaScript Graphics www.it-ebooks.info www.it-ebooks.info Supercharged JavaScript Graphics Raffaele Cecco Beijing • Cambridge • Farnham... Cecco Beijing • Cambridge • Farnham • Kưln • Sebastopol • Tokyo www.it-ebooks.info Supercharged JavaScript Graphics by Raffaele Cecco Copyright © 2011 Raffaele Cecco All rights reserved Printed... Canvas, JavaScript offers web developers a truly viable alternative to plug-ins such as Adobe Flash, and features such as WebGL ensure a very bright future for graphics programming using JavaScript

Ngày đăng: 11/07/2018, 13:59

Mục lục

  • Table of Contents

  • Preface

    • Audience and Assumptions

    • Organization

    • Conventions Used in This Book

    • Using Code Examples

      • Target Browsers

      • Safari® Books Online

      • How to Contact Us

      • Acknowledgments

      • Chapter 1. Code Reuse and Optimization

        • Keeping It Fast

        • What and When to Optimize

        • Homespun Code Profiling

        • Optimizing JavaScript

          • Lookup Tables

          • Bitwise Operators, Integers, and Binary Numbers

            • A quick recap of binary numbers

            • JavaScript’s bitwise operators

              • Bitwise AND (x & y)

              • Bitwise OR (x | y)

              • Bitwise XOR (x ^ y)

              • Bitwise NOT (~x)

              • Shift left (x << numBits)

              • Shift right with sign (x >> numBits)

              • Shift right with zero fill (x >>> y)

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan