Muutke küpsiste eelistusi

E-raamat: Getting Started with Processing: A Hands-On Introduction to Making Interactive Graphics

  • Formaat: 238 pages
  • Ilmumisaeg: 09-Sep-2015
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9781457187049
  • Formaat - EPUB+DRM
  • Hind: 11,12 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: 238 pages
  • Ilmumisaeg: 09-Sep-2015
  • Kirjastus: O'Reilly Media
  • Keel: eng
  • ISBN-13: 9781457187049

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Processing opened up the world of programming to artists, designers, educators, and beginners. This short book gently introduces the core concepts of computer programming and working with Processing. Written by the co-founders of the Processing project, Reas and Fry, Getting Started with Processing shows you how easy it is to make software and systems with interactive graphics. If you're an artist looking to develop interactive graphics programs or a programmer on your way to becoming an artist, this book will take you where you want to go. Updated with new material on graphics manipulation, data, and for the latest version of Processing.

Preface xi
1 Hello 1(6)
Sketching and Prototyping
2(1)
Flexibility
2(1)
Giants
3(1)
Family Tree
4(1)
Join In
5(2)
2 Starting to Code 7(6)
Your First Program
8(2)
Example 2-1: Draw an Ellipse
9(1)
Example 2-2: Make Circles
9(1)
Show
10(1)
Save and New
11(1)
Share
11(1)
Examples and Reference
11(2)
3 Draw 13(22)
The Display Window
13(1)
Example 3-1: Draw a Window
14(1)
Example 3-2: Draw a Point
14(1)
Basic Shapes
14(6)
Example 3-3: Draw a Line
16(1)
Example 3-4: Draw Basic Shapes
16(1)
Example 3-5: Draw a Rectangle
16(1)
Example 3-6: Draw an Ellipse
17(1)
Example 3-7: Draw Part of an Ellipse
18(1)
Example 3-8: Draw with Degrees
19(1)
Drawing Order
20(1)
Example 3-9: Control Your Drawing Order
20(1)
Example 3-10: Put It in Reverse
20(1)
Shape Properties
21(1)
Example 3-11: Set Stroke Weight
21(1)
Example 3-12: Set Stroke Caps
21(1)
Example 3-13: Set Stroke Joins
22(1)
Drawing Modes
22(1)
Example 3-14: On the Corner
23(1)
Color
23(5)
Example 3-15: Paint with Grays
25(1)
Example 3-16: Control Fill and Stroke
25(1)
Example 3-17: Draw with Color
26(1)
Example 3-18: Set Transparency
27(1)
Custom Shapes
28(2)
Example 3-19: Draw an Arrow
28(1)
Example 3-20: Close the Gap
28(1)
Example 3-21: Create Some Creatures
29(1)
Comments
30(2)
Robot 1: Draw
32(3)
4 Variables 35(14)
First Variables
35(1)
Example 4-1: Reuse the Same Values
35(1)
Example 4-2: Change Values
36(1)
Making Variables
36(2)
Processing Variables
38(1)
Example 4-3: Adjust the Size, See What Follows
38(1)
A Little Math
38(2)
Example 4-4: Basic Arithmetic
39(1)
Repetition
40(7)
Example 4-5: Do the Same Thing Over and Over
41(1)
Example 4-6: Use a for Loop
41(2)
Example 4-7: Flex Your for Loop's Muscles
43(1)
Example 4-8: Fanning Out the Lines
43(1)
Example 4-9: Kinking the Lines
44(1)
Example 4-10: Embed One for Loop in Another
44(1)
Example 4-11: Rows and Columns
45(1)
Example 4-12: Pins and Lines
46(1)
Example 4-13: Halftone Dots
46(1)
Robot 2: Variables
47(2)
5 Response 49(26)
Once and Forever
49(2)
Example 5-1: The draw() Function
49(1)
Example 5-2: The setup() Function
50(1)
Example 5-3: Global Variable
51(1)
Follow
51(5)
Example 5-4: Track the Mouse
51(1)
Example 5-5: The Dot Follows You
52(1)
Example 5-6: Draw Continuously
53(1)
Example 5-7: Set Line Thickness
53(1)
Example 5-8: Easing Does It
54(1)
Example 5-9: Smooth Lines with Easing
55(1)
Click
56(10)
Example 5-10: Click the Mouse
57(1)
Example 5-11: Detect When Not Clicked
58(1)
Example 5-12: Multiple Mouse Buttons
59(2)
Location
61(1)
Example 5-13: Find the Cursor
62(1)
Example 5-14: The Bounds of a Circle
63(1)
Example 5-15: The Bounds of a Rectangle
64(2)
Type
66(4)
Example 5-16: Tap a Key
67(1)
Example 5-17: Draw Some Letters
68(1)
Example 5-18: Check for Specific Keys
68(2)
Example 5-19: Move with Arrow Keys
70(1)
Map
70(2)
Example 5-20: Map Values to a Range
70(1)
Example 5-21: Map with the map() Function
71(1)
Robot 3: Response
72(3)
6 Translate, Rotate, Scale 75(14)
Translate
75(2)
Example 6-1: Translating Location
76(1)
Example 6-2: Multiple Translations
76(1)
Rotate
77(5)
Example 6-3: Corner Rotation
78(1)
Example 6-4: Center Rotation
78(1)
Example 6-5: Translation, then Rotation
79(1)
Example 6-6: Rotation, Then Translation
80(1)
Example 6-7: An Articulating Arm
80(2)
Scale
82(1)
Example 6-8: Scaling
82(1)
Example 6-9: Keeping Strokes Consistent
83(1)
Push and Pop
83(2)
Example 6-10: Isolating Transformations
84(1)
Robot 4: Translate, Rotate, Scale
85(4)
7 Media 89(14)
Images
90(4)
Example 7-1: Load an Image
90(1)
Example 7-2: Load More Images
91(1)
Example 7-3: Mousing Around with Images
92(1)
Example 7-4: Transparency with a GIF
93(1)
Example 7-5: Transparency with a PNG
94(1)
Fonts
94(3)
Example 7-6: Drawing with Fonts
95(1)
Example 7-7: Draw Text in a Box
96(1)
Example 7-8: Store Text in a String
97(1)
Shapes
97(4)
Example 7-9: Draw with Shapes
98(1)
Example 7-10: Scaling Shapes
98(1)
Example 7-11: Creating a New Shape
99(2)
Robot 5: Media
101(2)
8 Motion 103(18)
Frames
103(1)
Example 8-1: See the Frame Rate
103(1)
Example 8-2: Set the Frame Rate
104(1)
Speed and Direction
104(4)
Example 8-3: Move a Shape
104(1)
Example 8-4: Wrap Around
105(2)
Example 8-5: Bounce Off the Wall
107(1)
Tweening
108(1)
Example 8-6: Calculate Tween Positions
108(1)
Random
109(2)
Example 8-7: Generate Random Values
109(1)
Example 8-8: Draw Randomly
109(1)
Example 8-9: Move Shapes Randomly
110(1)
Timers
111(2)
Example 8-10: Time Passes
112(1)
Example 8-11: Triggering Timed Events
112(1)
Circular
113(5)
Example 8-12: Sine Wave Values
115(1)
Example 8-13: Sine Wave Movement
115(1)
Example 8-14: Circular Motion
116(1)
Example 8-15: Spirals
116(2)
Robot 6: Motion
118(3)
9 Functions 121(14)
Function Basics
122(2)
Example 9-1: Roll the Dice
122(1)
Example 9-2: Another Way to Roll
123(1)
Make a Function
124(6)
Example 9-3: Draw the Owl
124(1)
Example 9-4: Two's Company
125(1)
Example 9-5: An Owl Function
126(2)
Example 9-6: Increasing the Surplus Population
128(1)
Example 9-7: Owls of Different Sizes
129(1)
Return Values
130(1)
Example 9-8: Return a Value
130(1)
Robot 7: Functions
131(4)
10 Objects 135(14)
Fields and Methods
136(1)
Define a Class
137(5)
Create Objects
142(3)
Example 10-1: Make an Object
142(1)
Example 10-2: Make Multiple Objects
143(2)
Tabs
145(2)
Robot 8: Objects
147(2)
11 Arrays 149(16)
From Variables to Arrays
149(3)
Example 11-1: Many Variables
149(1)
Example 11-2: Too Many Variables
150(1)
Example 11-3: Arrays, Not Variables
151(1)
Make an Array
152(3)
Example 11-4: Declare and Assign an Array
153(1)
Example 11-5: Compact Array Assignment
154(1)
Example 11-6: Assigning to an Array in One Go
154(1)
Example 11-7: Revisiting the First Example
154(1)
Repetition and Arrays
155(3)
Example 11-8: Filling an Array in a for Loop
155(1)
Example 11-9: Track Mouse Movements
156(2)
Arrays of Objects
158(4)
Example 11-10: Managing Many Objects
159(1)
Example 11-11: A New Way to Manage Objects
159(1)
Example 11-12: Sequences of Images
160(2)
Robot 9: Arrays
162(3)
12 Data 165(18)
Data Summary
165(1)
Tables
166(6)
Example 12-1: Read the Table
168(1)
Example 12-2: Draw the Table
168(2)
Example 12-3: 29,740 Cities
170(2)
JSON
172(4)
Example 12-4: Read a JSON File
173(1)
Example 12-5: Visualize Data from a JSON File
174(2)
Network Data and APIs
176(4)
Example 12-6: Parsing the Weather Data
178(1)
Example 12-7: Chaining Methods
179(1)
Robot 10: Data
180(3)
13 Extend 183(18)
Sound
184(5)
Example 13-1: Play a Sample
185(1)
Example 13-2: Listen to a Microphone
186(2)
Example 13-3: Create a Sine Wave
188(1)
Image and PDF Export
189(4)
Example 13-4: Saving Images
190(1)
Example 13-5: Draw to a PDF
191(2)
Hello, Arduino
193(8)
Example 13-6: Read a Sensor
194(1)
Example 13-7: Read Data from the Serial Port
195(1)
Example 13-8: Visualizing the Data Stream
196(2)
Example 13-9: Another Way to Look at the Data
198(3)
A Coding Tips 201(6)
B Data Types 207(2)
C Order of Operations 209(2)
D Variable Scope 211(2)
Index 213
Casey Reas is a professor in the Department of Design Media Arts at UCLA and a graduate of the MIT Media Laboratory. Reas' software has been featured in numerous solo and group exhibitions at museums and galleries in the United States, Europe, and Asia. With Ben Fry, he co-founded Processing in 2001. He is the co-author of "Processing: A Programming Handbook for Visual Designers and Artists" (2007) and "Form+Code in Design, Art, and Architecture" (2010). His work is archived at http: //www.reas.comwww.reas.com.Ben Fry has a doctorate from the MIT Media Laboratory and was the 2006-2007 Nierenberg Chair of Design for the Carnegie Mellon School of Design. He worked with Casey Reas to develop Processing, which won a Golden Nica from the Prix Ars Electronica in 2005. Ben's work has received a New Media Fellowship from the Rockefeller Foundation, and been shown at the Museum of Modern Art, Ars Electronica, the 2002 Whitney Biennial, and the 2003 Cooper Hewitt Design Triennial.