文档介绍:puter Science
Shane Torbert
puter Science
Shane Torbert
Center putational Fluid Dynamics
e Mason University
Fairfax, Virginia, USA
ISBN 978-1-4614-1887-0 e-ISBN 978-1-4614-1888-7
DOI -1-4614-1888 - 7
Springer New York Dordrecht Heidelberg London
Library of Congress Control Number: 2011941876
¤ Springer Science+Business Media, LLC 2012
All rights reserved. This work may not be translated or copied in whole or in part without the written
permission of the publisher (Springer Science+Business Media, LLC, 233 Spring Street, New York,
NY 10013, USA), except for brief excerpts in connection with reviews or scholarly analysis. Use in
connection with any form of information storage and retrieval, electronic adaptation, computer soft-
ware, or by similar or dissimilar methodology now known or hereafter developed is forbidden.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they
are not identified as such, is not to be taken as an expression of opinion as to whether or not they are
subject to proprietary rights.
Printed on acid-free paper
Springer is part of Springer Science+Business Media ()
For my wife
I don’t believe that talent belongs to a certain
place... it’s spread equally. The problem is, in
very few places we create conditions to help
this talent to be discovered and nurtured.
–Garry Kasparov
Contents
1 Simulation .................................................... 1
Random Walk . . . . . ........................................ 1
Air Resistance . . . . . ........................................ 10
Lunar Module . . . . . ........................................ 20
2 Graphics ...................................................... 33
Pixel Mapping . . . . . ........................................ 34
Scalable Format . . . . ........................................ 44
Building Software . . ............................