An artist's guide to programming A graphical introduction

J. R. Parker, 1955-

Book - 2022

"Teaches programming concepts by visual example, providing one hundred short programs to experiment with, written in the Java-based language Processing. Covers how to program while manipulating computer-generated graphics, photographs, video, and sound"--

Saved in:

2nd Floor Show me where

005.133/PROCESSING/Parker
1 / 1 copies available
Location Call Number   Status
2nd Floor 005.133/PROCESSING/Parker Checked In
Subjects
Published
San Francisco : No Starch Press 2022.
Language
English
Main Author
J. R. Parker, 1955- (author)
Physical Description
xix, 226 pages : illustrations ; 26 cm
ISBN
9781718501645
  • Author's Note
  • Introduction
  • The Basics of a Programming Language: Processing
  • The Beginning
  • The Middle
  • The Rest
  • Variables
  • How to Write a Program
  • Part 1. The Fundamentals of Drawing
  • Sketch 1. A Circle
  • Example A
  • Example B
  • Example C
  • Sketch 2. Colors
  • Example A
  • Example B
  • Sketch 3. If Statements-Changing Colors Conditionally
  • Example A
  • Example B
  • Example C
  • Sketch 4. Loops-Drawing 20 Circles
  • Example A
  • Example B
  • Sketch 5. Lines
  • Example A
  • Example B
  • Sketch 6. Arrays-Drawing Many Circles
  • Sketch 7. Lines with Rubber Banding
  • Sketch 8. Random Circles
  • Sketch 9. A Rectangle
  • Sketch 10. Triangles and Motion
  • Sketch 11. Displaying Text
  • Sketch 12. Manipulating Text Strings
  • Part 2. Working with Preexisting Images
  • Sketch 13. Loading and Displaying an Image
  • Example A
  • Example B
  • Sketch 14. Images-Theory and Practice
  • Example A
  • Example B
  • Sketch 15. Manipulating Images I-Aspect Ratio
  • Example A
  • Example B
  • Sketch 16. Manipulating Images II-Cropping
  • Sketch 17. Manipulating Images III-Magnifier
  • Sketch 18. Rotation
  • Example A
  • Example B
  • Sketch 19. Rotating About Any Point-Translation
  • Example A
  • Example B
  • Sketch 20. Rotating an Image
  • Sketch 21. Getting the Value of a Pixel
  • Sketch 22. Setting and Changing the Values of Pixels
  • Example A
  • Example B
  • Sketch 23. Changing the Values of Pixels-Thresholding
  • Sketch 24. User-Defined Functions
  • Sketch 25. Elements of Programming Style
  • Sketch 26. Duplicating Images-More Functions
  • Part 3. 2D Graphics and Animation
  • Sketch 27. Saving an Image and Adjusting Transparency
  • Sketch 28. Bouncing an Object in a Window
  • Sketch 29. Basic Sprite Graphics
  • Sketch 30. Detecting Sprite-Sprite Collisions
  • Sketch 31. Animation-Generating TV Static
  • Sketch 32. Frame Animation
  • Example A
  • Example B
  • Sketch 33. Flood Fill-Filling in Complex Shapes
  • Part 4. Working with Text and Files
  • Sketch 34. Fonts, Sizes, Character Properties
  • Sketch 35. Scrolling Text
  • Sketch 36. Text Animation
  • Sketch 37. Inputting a Filename
  • Sketch 38. Inputting an Integer
  • Sketch 39. Reading Parameters from a File
  • Sketch 40. Writing Text to a File
  • Sketch 41. Simulating Text on a Computer Screen
  • Part 5. Creating User Interfaces and Widgets
  • Sketch 42. A Button
  • Sketch 43. The Class Object-Multiple Buttons
  • Sketch 44. A Slider
  • Sketch 45. A Gauge Display
  • Sketch 46. A Likert Scale
  • Sketch 47. A Thermometer
  • Part 6. Network Communications
  • Sketch 48. Opening a Web Page
  • Example A
  • Example B
  • Sketch 49. Loading Images from a Web Page
  • Sketch 50. Client/Server Communication
  • Part 7. 3d Graphics and Animation
  • Sketch 51. Basic 3D Objects
  • Example A
  • Example B
  • Sketch 52. 3D Geometry-Viewpoints, Projections
  • Sketch 53. 3D Illumination
  • Sketch 54. Bouncing a Ball in 3D
  • Sketch 55. Constructing 3D Objects Using Planes
  • Sketch 56. Texture Mapping
  • Sketch 57. Billboards-Simulating a Tree
  • Sketch 58. Moving the Viewpoint in 3D
  • Sketch 59. Spotlights
  • Sketch 60. A Driving Simulation
  • Part 8. Advanced Graphics and Animation
  • Sketch 61. Layering
  • Sketch 62. Seeing the World Through a Window
  • Sketch 63. The PShape Object-A Rotating Planet
  • Sketch 64. Splines-Drawing Curves
  • Sketch 65. A Driving Simulation with Waypoints
  • Sketch 66. Many Small Objects-A Snowstorm
  • Sketch 67. Particle Graphics-Smoke
  • Sketch 68. Saving a Slate-A Spinning Propeller
  • Sketch 69. L-Systems-Drawing Plants
  • Sketch 70. Warping an Image
  • Part 9. Working with Sound
  • Sketch 71. Playing a Sound File
  • Sketch 72. Displaying a Sound's Volume
  • Sketch 73. Bouncing a Ball with Sound Effects
  • Sketch 74. Mixing Two Sounds
  • Sketch 75. Displaying Audio Waveforms
  • Sketch 76. Controlling a Graphic with Sound
  • Sketch 77. Positional Sound
  • Sketch 78. Synthetic Sounds
  • Sketch 79. Recording and Saving Sound
  • Part 10. Working with Video
  • Sketch 80. Playing a Video
  • Sketch 81. Playing a Video with a Jog Wheel
  • Sketch 82. Saving Still Frames from a Video
  • Sketch 83. Processing Video in Real Time
  • Sketch 84. Capturing Video from a Webcam
  • Sketch 85. Mapping Live Video as a Texture
  • Part 11. Measuring and Simulating Time
  • Sketch 86. Displaying a Clock
  • Sketch 87. Time Differences-Measuring Reaction Time
  • Sketch 88. M/M/1 Queue-Time in Simulations
  • Part 12. Creating Simulations and Games
  • Sketch 89. Predator-Prey Simulation
  • Sketch 90. Flocking Behavior
  • Sketch 91. Simulating the Aurora
  • Sketch 92. A Dynamic Advertisement
  • Sketch 93. Nim
  • Sketch 94. Pathfinding
  • Sketch 95. Metaballs-A Lava Lamp
  • Sketch 96. A Robot Arm
  • Sketch 97. Lightning
  • Sketch 98. The Computer Game Breakout
  • Sketch 99. Midpoint Displacement-Simulating Terrain
  • Part 13. Making Your Work Public
  • Sketch 100. Processing on the Web