Muutke küpsiste eelistusi

E-raamat: SparkFun Guide to Processing

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 01-Aug-2015
  • Kirjastus: No Starch Press,US
  • Keel: eng
  • ISBN-13: 9781593277215
  • Formaat - EPUB+DRM
  • Hind: 21,02 €*
  • * 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: EPUB+DRM
  • Ilmumisaeg: 01-Aug-2015
  • Kirjastus: No Starch Press,US
  • Keel: eng
  • ISBN-13: 9781593277215

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 is a free, beginner-friendly programming language designed to help non-programmers create interactive art with code. In Processing, you can make a masterpiece with just a simple program, and at the click of a button, the software displays your handiwork on-screen for instant feedback.

The SparkFun Guide to Processing teaches you to craft your own digital artwork and even combine it with hardware—no prior programming experience required. Over the course of the book, you'll learn the basics by drawing simple shapes, move on to photo editing and video manipulation, and ultimately affect the physical world by using Processing with an Arduino.

Work through an array of projects that increase steadily in complexity to:

  • Animate an abstract clock that changes color with the time of day
  • Tint, rotate, and translate photos to create a digital collage
  • Write a maze game that you can play with a Makey Makey
  • Create a weather dashboard with live data scraped from the Web
  • Build an Arduino-based lamp that reacts to Processing data
Art and programming aren't mutually exclusive, and with Processing as your digital paint brush, you'll code your own gallery in no time.

Arvustused

"The book is well organized. I appreciated the introductory overview of the book as well as the section on the history of Processing in the first chapter." Elie Zananiri, Senior Developer for Processing

Foreword xvi
Nathan Seidle
Introduction xx
Why Start Making With Processing?
xx
Who This Book Is For
xx
A Note To Teachers
xxi
What's In This Book
xxi
The Processing Community
xxiv
Online Resources
xxiv
Project 0 Getting Started With Processing 2(14)
About Processing
4(2)
A Programming Language
4(1)
A Tool For Art And Design
4(1)
An Open Source Project
5(1)
Installing Processing
6(1)
The Ide
7(3)
A Quick Tour
8(1)
The Preferences Window
9(1)
Hello World
10(1)
Anatomy Of A Sketch
11(2)
A Two-Part Recipe
11(1)
Syntax
12(1)
Data Types
13(1)
Cartesian Coordinate Plane
13(3)
Project 1 Pixel Art 16(16)
Gather Your Materials
18(1)
Drafting Your Pixel Art
18(3)
Translating Your Sketch Into Code
21(2)
Adding Color
23(2)
Order Matters
25(1)
Removing Or Modifying Your Outlines
26(2)
Scaling Your Sketch To Epic Proportions
28(2)
Taking It Further
30(2)
Project 2 Holiday Card 32(16)
Gather Your Materials
34(1)
Drawing More Shapes!
34(8)
Ellipses
34(1)
Lines
35(4)
Quadrilaterals
39(2)
Triangles
41(1)
Programming A Digital Collage
42(4)
Setting The Stage
42(1)
Gluing Down The Pieces
43(3)
Printing To The Console
46(1)
Taking It Further
47(1)
Project 3 A First Dynamic Sketch 48(16)
More On Variables
50(1)
Anatomy Of A Variable
50(1)
Where To Use A Variable
51(1)
Math In Processing
51(1)
Logic
52(3)
Inside If() Statements
52(2)
A Refresher On Relational Operators
54(1)
Logical Operators
54(1)
Following The Bouncing Ball
55(4)
Moving In One Direction
56(1)
Creating Walls
57(2)
Trails Of Color And Multiple Variables
59(3)
Reusing Code
59(1)
Manipulating Individual Shapes
60(2)
Taking It Further
62(2)
Project 4 Interactive Time-Based Art 64(16)
Built-In Values
66(2)
Finding The Mouse And Keypresses
67(1)
Telling Time
67(1)
Putting Built-In Values Into Action
68(1)
Extending Your Range
68(2)
Transformation Functions
70(1)
An Abstract Clock
71(4)
Comparing The Major Time Functions
71(1)
Spicing It UPI
72(3)
Sharing Your Project!
75(4)
Taking It Further
79(1)
Project 5 Enter The Matrix 80(12)
What Is A Matrix?
82(2)
Thinking With Matrices
84(4)
Translation Revisited
85(1)
Rotation Revisited
86(1)
Scaling Revisited
87(1)
Hacking Your Previous Projects
88(2)
Taking It Further
90(2)
Project 6 Image Processing With A Collage 92(26)
Finding An Image To Use
94(1)
The Pimage Data Type
95(1)
Using Your Image In A Sketch
96(4)
Image Modes
97(2)
Transformation
99(1)
A Photo Collage
100(5)
Multiple Images
100(2)
Returning To The Matrix
102(1)
Scattered Photos
103(2)
Applying Tints
105(3)
Filter Basics
108(3)
Processing Objects
111(4)
Taking It Further
115(3)
Project 7 Playing With Text 118(16)
The String Data Type
120(1)
Basic Text Functions
121(1)
Text Modifiers
122(2)
Fonts
124(2)
Creating A Font
124(1)
Loading A Font
125(1)
A Simplified Typewriter
126(3)
Fetching Letter Keys
127(1)
Useful Delays
128(1)
A Data Dashboard
129(4)
Fetching Statistics And Setting Up
129(1)
Indicating Mouse Quadrant
130(2)
Showing Time And Mouse Coordinates
132(1)
Taking It Further
133(1)
Project 8 Two Drawing Programs 134(12)
More Mouse Variables
136(1)
Event Functions
136(2)
Rainbow Doodles
138(2)
Implementing Mousedragged()
138(2)
Implementing Mousepressed()
140(1)
A Simple Painting Program
140(4)
Creating A Color-Changing Feedback Box
141(2)
Changing The Pen Color
143(1)
Taking It Further
144(2)
Project 9 A Maze Game 146(20)
Gather Your Materials
148(1)
More Ways To Read Input
149(4)
Working With ASCII And Keycode
149(2)
Driving Shapes
151(2)
Building The Maze Game
153(6)
Generating A Maze
154(1)
Writing The Sketch
155(1)
Detecting Wall Touches With Get()
156(1)
Adding The Victory Condition
157(2)
Adding A Makey Makey Controller
159(5)
Meeting The Makey Makey
159(1)
Building A Controller
160(2)
Connecting The Makey Makey To Your Computer
162(2)
Taking It Further
164(2)
Project 10 Manipulating Movies And Capturing Video 166(18)
What Is A Library?
168(3)
Adding Libraries To Processing
168(1)
Using Libraries In Your Sketch
168(2)
Calling Library Functions
170(1)
Adding Your Own Videos To A Sketch
171(1)
Applying Tints And Filters
172(2)
Introducing For() Loops And Arrays
174(3)
Capturing Video
177(3)
Modifying The Setup() Function
177(2)
Displaying Live Capture
179(1)
Creating A Photo Booth
180(2)
Adding The Setup() Function
180(1)
Creating The Draw() Loop
181(1)
Taking It Further
182(2)
Project 11 Audio Processing With Minim 184(24)
Gather Your Materials
186(1)
Introducing The Minim Library
186(3)
Creating A Single-Song Audio Player
189(5)
Introducing Minim's Audiosample Class
194(1)
Improving Your Audio Player With Metadata
195(3)
Visualizing Sound
198(5)
Setting Up Audio Input
198(1)
Drawing Sound
199(4)
Recording Audio To Create A Soundboard
203(3)
Creating The Class Objects
203(1)
Writing The Setup() And Draw() Functions
203(1)
Recording And Playing Samples
204(1)
In An Event Function
204(2)
Taking It Further
206(2)
Project 12 Building A Weather Dashboard With JSON Data 208(24)
What Does JSON Data Look Like?
210(3)
Arrays Of JSON Objects
213(2)
Getting Weather Data In JSON
215(3)
Using JSON Data In Processing
218(2)
Writing A Custom Data Parsing Function
220(7)
Starting A New Function Tab
220(1)
Listing Data Variables
221(1)
Writing A Basic Custom Function In Update_data
222(2)
Parsing Your Weather Data In A Custom Function
224(3)
Drawing The Weather Dashboard In The Main Tab
227(2)
Pulling A Weather Icon From The Web
229(2)
Taking It Further
231(1)
Project 13 Using Sensors With Processing And Arduino 232(34)
Gather Your Materials
234(1)
What Is A Microcontroller
234(1)
What Is Arduino?
235(1)
The Sparkfun Digital Sandbox
235(2)
Installing The Arduino Software
237(3)
Installing Arduino And Drivers On Windows
237(1)
Installing Arduino And FTDI Drivers On OS X
238(1)
Installing Arduino On Ubuntu Linux
239(1)
Introducing The Arduino Ide
240(2)
Selecting Your Board And Choosing A Port
242(1)
An Arduino Hello World
243(3)
Exploring An Arduino Sketch
243(1)
Writing The Setup() Function
243(1)
Writing The Loop() Function
244(2)
Analog Versus Digital
246(1)
Reading Versus Writing Data
246(1)
Reading Data From Sensors
247(3)
Creating The Sensor Data Dashboard In Processing
250(9)
Importing Libraries And Creating Variables
250(1)
Preparing Processing For Serial Communication
251(1)
Fetching Your Serial Data
252(2)
Testing The Serial Connection
254(2)
Visualizing Your Sensor Data
256(3)
Logging Sensor Data With Processing
259(2)
Taking It Further
261(5)
Sending Data From Processing To Arduino
261(2)
Receiving Processing Data On An Arduino
263(3)
Index 266
Derek Runberg works in the Department of Education at SparkFun Electronics, where he develops curriculum and materials for workshops and classrooms alike. Before joining SparkFun, Derek taught a middle school technology course centered on Processing and Arduino.