JavaFX Special Effects - Lucas Jordan

JavaFX Special Effects (eBook)

Taking Java™ RIA to the Extreme with Animation, Multimedia, and Game Elements

(Autor)

eBook Download: PDF
2010 | 1st ed.
300 Seiten
Apress (Verlag)
978-1-4302-2624-6 (ISBN)
Systemvoraussetzungen
34,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Enough about learning the fundamentals of the intriguing JavaFX platform; it's now time to start implementing visually stunning and dynamic Java-based rich Internet applications (RIAs) for your desktop or mobile front end. This book will show you what the JavaFX platform can really do for Java desktop and mobile front ends. It presents a number of excellent visual effects and techniques that will make any JavaFX application stand out-whether it's animation, multimedia, or a game. The techniques shown in this book are invaluable for competing in today's market, and they'll help set your RIAs apart from your competitor's.

  • Create visual effects that perform well.
  • Add subtle animations to bring any application to life.
  • Use the graphical power of the JavaFX platform.


Lucas L. Jordan is a lifelong computer enthusiast and has worked for many years as a Java developer, focusing on user interface. He has previously written JavaFX Special Effects: Taking Java RIA to the Extreme with Animation, Multimedia, and Game Elements. Lucas is interested in mobile application development in its many forms.
Enough about learning the fundamentals of the intriguing JavaFX platform; it's now time to start implementing visually stunning and dynamic Java-based rich Internet applications (RIAs) for your desktop or mobile front end. This book will show you what the JavaFX platform can really do for Java desktop and mobile front ends. It presents a number of excellent visual effects and techniques that will make any JavaFX application stand out-whether it's animation, multimedia, or a game. The techniques shown in this book are invaluable for competing in today's market, and they'll help set your RIAs apart from your competitor's. Create visual effects that perform well. Add subtle animations to bring any application to life. Use the graphical power of the JavaFX platform.

Lucas L. Jordan is a lifelong computer enthusiast and has worked for many years as a Java developer, focusing on user interface. He has previously written JavaFX Special Effects: Taking Java RIA to the Extreme with Animation, Multimedia, and Game Elements. Lucas is interested in mobile application development in its many forms.

Contents at a Glance 5
Table of Contents 6
Foreword 12
About the Author 13
About the Technical Reviewer 14
Acknowledgments 15
Introduction 16
Goal of This Book 16
Who This Book Is For 16
Who This book Is By 17
Chapter Overview 18
CHAPTER 1 JavaFX Design Considerations 19
Graphics and Animations in Applications 19
Controls and Layout 19
Graphics 23
Animations 26
Designers and Developers 27
Workflow 27
Showing off the Platform 30
Setting Realistic Expectations 30
JavaFX 31
Scene Graph 31
Designer Tools 32
Deployment 36
NetBeans 36
Open Source Tools 38
GIMP 38
ImageMagick 39
Blender 39
Inkscape 39
Audacity 39
Summary 39
CHAPTER 2 Effect: Particle Systems 40
Basic Principles 40
Visual Density 42
Particle Appearance and Behavior 42
Animation Implementation 42
Example 1: Core Classes 42
Example 2: Adding Some Controls 46
Example 3: Transparency 52
Example 4: Blend Mode 55
Example 5: Nonuniform Nodes 57
Example 6: Direction 61
Example 7: Nonlinear Paths 63
Further Considerations 64
Summary 65
CHAPTER 3 Effect: Visual Transitions 66
Getting Started 66
Example 1: Fade Replace 70
Example 2: Slide Replace 73
Example 3: Flip Replace 75
Example 4: Wipe Replace 80
Example 5: Burn Replace 83
Further Considerations 86
Summary 86
CHAPTER 4 Effect: Animated Lighting 87
Lighting Basics 87
Animating Light 89
Distant Light Example 91
Point Light Example 93
Spot Light Example 96
Light and Shadow Example 99
Further Considerations 102
Summary 102
CHAPTER 5 Effect: Advanced Interpolators 103
The Basics 103
Visualizing Interpolators 104
Built-In Interpolators 107
Custom Interpolators 110
Extending Interpolator 111
Quadratic Interpolator 112
Cubic Interpolator 113
Polynomial Interpolator 115
Windup-Overshoot Interpolator 117
Step Interpolator 119
Transition Example 124
Fade Transition 126
Slide Transition 126
Flip Transition 127
Further Considerations 127
Summary 128
CHAPTER 6 Effect: Physics 129
Simulation 129
Third-Party Implementation 130
Simple Example 131
Pendulum Example 138
Teeter Totter Example 142
Transition Example 144
Further Considerations 151
Summary 151
CHAPTER 7 Effect: Animated Image Sequences 152
Creating Images 152
Implementation 158
Further Considerations 166
Summary 167
CHAPTER 8 Effect: Animated Gradients 168
The Basics 168
Paint Types 168
Proportional 170
Animations 174
Simple Color Example 174
Simple Linear Gradient 175
Simple Radial 178
Multi-Colored Linear 180
Animated Stops 181
Animate Opacity and Stops 184
Progress Bar 187
Summary 190
CHAPTER 9 Effect: Audio Visualizer 191
What Is an Audio Visualizer? 191
Audio and the JVM 193
Audio and JavaFX 193
Java Sound 194
JavaFX and Java 200
Audio Visualizations 202
Controlling the Audio 204
Bars 206
Disco 208
Wave 212
Summary 214
CHAPTER 10 Effects: Physics and Particles 215
Particles as Bodies 215
Emitters as Bodies 223
Summary 228
CHAPTER 11 Pulling It All Together: Clown Cannon 229
Design Phase 229
Game Design 229
Graphic Design 231
Implementation 236
Game Life Cycle 237
Round Life Cycle 244
Summary 254
Index 255

Erscheint lt. Verlag 9.2.2010
Zusatzinfo 300 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Theorie / Studium
Mathematik / Informatik Informatik Web / Internet
Schlagworte Animation • Audio • Flash • Java • JavaFX • Multimedia • Rich Internet Application • Silverlight • techniques
ISBN-10 1-4302-2624-2 / 1430226242
ISBN-13 978-1-4302-2624-6 / 9781430226246
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 4,3 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Einführung, Ausbildung, Praxis

von Christian Ullenboom

eBook Download (2023)
Rheinwerk Computing (Verlag)
37,43
Moderne GUIs für RIAs und Java-Applikationen

von Ralph Steyer

eBook Download (2022)
Springer Fachmedien Wiesbaden (Verlag)
42,99