Jump to ratings and reviews
Rate this book

Playing with Chaos: Programming Fractals and Strange Attractors in JavaScript

Rate this book
This book, as its name implies, is about playing with fractals, strange attractors and chaos theory. By "playing" is meant writing computer programs that will generate fractals and other related forms. By learning the principles behind the shapes and the code that creates these images, you will gain a far greater understanding of and appreciation for the subject. You will also be able to experiment with these concepts on a level that you could probably never achieve if you were just randomly tweaking some sliders in someone else's application.JavaScript was chosen for the programming language in this book for multiple reasons.First, JavaScript is free, open, cross-platform, doesn't require any special programming environment, and (with HTML5 running in modern browsers) is powerful enough to do most of the computation and rendering that will be needed. Chances are that the computer you are currently using has everything you need to create and run almost all of the examples in this book. All that is required is a text editor and a modern browser -- any of the latest versions of Internet Explorer, Google Chrome, Firefox, Safari, or Opera.Second, notwithstanding a few oddities, JavaScript is a relatively easy language to pick up and become productive in very quickly. While I am assuming you have some basic programming experience, you won't need to have an extensive background in JavaScript itself to get the examples up and running. Chances are, no matter what programming language you might be familiar with, you will be able to get up to speed with the code in this book rather quickly, even if you've never touched JavaScript before.Finally, the intent of this book is not to supply you with a bunch of programs that you blindly copy and run. The idea is that you will understand what is happening in the code and why, and use the example programs as a starting point for your own explorations. As such, this can also include converting the code to the language and platform of your choice. JavaScript's syntax is simple enough that the examples should be readily translatable into most other currently popular languages.

465 pages, Kindle Edition

First published September 1, 2013

28 people are currently reading
63 people want to read

About the author

Keith Peters

43 books12 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (50%)
4 stars
7 (43%)
3 stars
1 (6%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.