CHAPTER 2
Effect: Particle Systems
Particle systems are used in many video games and other animations. A particle system is a general term for any visual effect that uses a large number of small, simple, animated nodes to create a larger, complex effect. This technique produces animations that are hard to reproduce using a single vector, raster image, or other method. Examples of particle systems include fire, magic spells, sparks, and moving water. This chapter covers the basic principles of particle systems in 2D space, and how they are implemented in JavaFX. There are a number of examples, each building on the previous one. You'll find it very helpful to have the example code on hand when reading this chapter.
Basic Principles
A particle ...
Get JavaFX™ Special Effects: Taking Java™ RIA to the Extreme with Animation, Multimedia, and Game Elements now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.