LEADER 00000cam 2200805Ii 4500 001 ocn895728661 003 OCoLC 003 LT 008 141114s2016 caua 001 0 eng d 020 9781457186837 020 1457186837 041 0 eng 082 04 006.6|223 092 0 006|bengelska 100 1 Parrish, Allison 245 10 Getting started with Processing.py /|cAllison Parrish, Ben Fry, and Casey Reas 246 1 |iSubtitle on cover:|aMaking interactive graphics with Python's Processing mode 246 3 Make: getting started with Processing.py 250 First Edition 264 1 San Francisco, CA :|bMaker Media, Inc.,|c2016 300 xvi, 223 pages :|billustrations ;|c22 cm 336 text|btxt|2rdacontent 337 unmediated|bn|2rdamedia 338 volume|bnc|2rdacarrier 500 Includes index 505 00 Machine generated contents note:|tSketching and Prototyping --|tFlexibility --|tGiants --|tFamily Tree -- |tJoin In --|tPython Mode --|tYour First Program -- |tExample 2-1: Draw an Ellipse --|tExample 2-2: Make Circles --|tShow --|tSave and New --|tShare --|tExamples and Reference --|tDisplay Window --|tExample 3-1: Draw a Window --|tExample 3-2: Draw a Point --|tBasic Shapes -- |tExample 3-3: Draw a Line --|tExample 3-4: Draw Basic Shapes --|tExample 3-5: Draw a Rectangle --|tExample 3-6: Draw an Ellipse --|tExample 3-7: Draw Part of an Ellipse - -|tExample 3-8: Draw with Degrees --|tDrawing Order -- |tExample 3-9: Control Your Drawing Order --|tExample 3-10 : Put It in Reverse --|tShape Properties --|tExample 3-11: Set Stroke Weight --|tExample 3-12: Set Stroke Caps -- |tExample 3-13: Set Stroke Joins --|tDrawing Modes -- |tExample 3-14: On the Corner --|tColor --|tExample 3-15: Paint with Grays --|tExample 3-16: Control Fill and Stroke --|tExample 3-17: Draw with Color --|tExample 3-18: Set Transparency --|tCustom Shapes --|tExample 3-19: Draw an Arrow --|tExample 3-20: Close the Gap --|tExample 3-21: Create Some Creatures --|tComments --|tRobot 1: Draw -- |tFirst Variables --|tExample 4-1: Reuse the Same Values - -|tExample 4-2: Change Values --|tMaking Variables -- |tProcessing Variables --|tExample 4-3: Adjust the Size, See What Follows --|tLittle Math --|tExample 4-4: Basic Arithmetic --|tRepetition --|tExample 4-5: Do the Same Thing Over and Over --|tExample 4-6: Use a for Loop -- |tExample 4-7: Flex Your for Loop's Muscles --|tExample 4- 8: Fanning Out the Lines --|tExample 4-9: Kinking the Lines --|tExample 4-10: Embed One for Loop in Another -- |tExample 4-11: Rows and Columns --|tExample 4-12: Pins and Lines --|tExample 4-13: Halftone Dots --|tRobot 2: Variables --|tOnce and Forever --|tExample 5-1: The draw() Function --|tExample 5-2: The setup() Function --|tExample 5-3: Global Variables --|tFollow --|tExample 5-4: Track the Mouse --|tExample 5-5: The Dot Follows You --|tExample 5-6: Draw Continuously --|tExample 5-7: Set Thickness on the Fly --|tExample 5-8: Easing Does It --|tExample 5-9: Smooth Lines with Easing --|tModifying Global Variables -- |tClick --|tExample 5-10: Click the Mouse --|tExample 5-11 : Detect When Not Clicked --|tExample 5-12: Multiple Mouse Buttons --|tLocation --|tExample 5-13: Find the Cursor -- |tExample 5-14: The Bounds of a Circle --|tExample 5-15: The Bounds of a Rectangle --|tType --|tExample 5-16: Tap a Key --|tExample 5-17: Draw Some Letters --|tExample 5-18: Check for Specific Keys --|tExample 5-19: Move with Arrow Keys --|tMap --|tExample 5-20: Map Values to a Range -- |tExample 5-21: Map with the map() Function --|tRobot 3: Response --|tTranslate --|tExample 6-1: Translating Location --|tExample 6-2: Multiple Translations --|tRotate --|tExample 6-3: Corner Rotation --|tExample 6-4: Center Rotation --|tExample 6-5: Translation, Then Rotation -- |tExample 6-6: Rotation, Then Translation --|tExample 6-7: An Articulating Arm --|tScale --|tExample 6-8: Scaling -- |tExample 6-9: Keeping Strokes Consistent --|tPush and Pop --|tExample 6-10: Isolating Transformations --|tRobot 4: Translate, Rotate, Scale --|tImages --|tExample 7-1: Load an Image --|tExample 7-2: Load More Images --|tExample 7-3 : Mousing Around with Images --|tExample 7-4: Transparency with a GIF --|tExample 7-5: Transparency with a PNG -- |tFonts --|tExample 7-6: Drawing with Fonts --|tExample 7- 7: Draw Text in a Box --|tExample 7-8: Store Text in a String --|tShapes --|tExample 7-9: Draw with Shapes -- |tExample 7-10: Scaling Shapes --|tExample 7-11: Creating a New Shape --|tRobot 5: Media --|tFrames --|tExample 8-1: See the Frame Rate --|tExample 8-2: Set the Frame Rate -- |tSpeed and Direction --|tExample 8-3: Move a Shape -- |tExample 8-4: Wrap Around --|tExample 8-5: Bounce Off the Wall --|tTweening --|tExample 8-6: Calculate Tween Positions --|tRandom --|tExample 8-7: Generate Random Values --|tExample 8-8: Draw Randomly --|tExample 8-9: Move Shapes Randomly --|tTimers --|tExample 8-10: Time Passes --|tExample 8-11: Triggering Timed Events -- |tCircular --|tExample 8-12: Sine Wave Values --|tExample 8-13: Sine Wave Movement --|tExample 8-14: Circular Motion --|tExample 8-15: Spirals --|tRobot 6: Motion --|tFunction Basics --|tExample 9-1: Roll the Dice --|tExample 9-2: Another Way to Roll --|tMake a Function --|tExample 9-3: Draw the Owl --|tExample 9-4: Two's Company --|tExample 9- 5: An Owl Function --|tExample 9-6: Increasing the Surplus Population --|tExample 9-7: Owls of Different Sizes -- |tReturn Values --|tExample 9-8: Return a Value --|tRobot 7: Functions --|tFields and Methods --|tDefine a Class -- |tCreate Objects --|tExample 10-1: Make an Object -- |tExample 10-2: Make Multiple Objects --|tCode in Tabs -- |tRobot 8: Objects --|tFrom Variables to Lists --|tExample 11-1: Many Variables --|tExample 11-2: Too Many Variables --|tExample 11-3: Lists, Not Variables --|tList Operations --|tExample 11-4: Declare and Append to a List --|tExample 11-5: Compact List Initialization --|tExample 11-6: Revisiting the First Example --|tRepetition and Lists -- |tExample 11-7: Filling a List in a for Loop --|tExample 11-9: Track Mouse Movements --|tLists of Objects -- |tExample 11-10: Managing Many Objects --|tExample 11-11: A New Way to Manage Objects --|tExample 11-12: Sequences of Images --|tRobot 9: Lists --|tData Summary -- |tDictionaries --|tExample 12-1: (Keyboard) Keys as (Dictionary) Keys --|tLists of Dictionaries --|tExample 12 -2: The Planets --|tCSV Files --|tExample 12-3: Read the Data --|tGetting the Right Type --|tExample 12-4: Draw the Table --|tExample 12-5: 29,740 Cities --|tJSON --|tExample 12-6: Read a JSON File --|tExample 12-7: Visualize Data from a JSON File --|tNetwork Data and APIs --|tExample 12- 8: Parsing the Weather Data --|tExample 12-9: Chaining Square Brackets --|tRobot 10: Data --|tSound --|tExample 13-1: Play a Sample --|tExample 13-2: Listen to a Microphone --|tExample 13-3: Create a Sine Wave --|tImage and PDF Export --|tExample 13-4: Saving Images --|tExample 13-5: Draw to a PDF --|tHello, Arduino --|tExample 13-6: Read a Sensor --|tExample 13-7: Read Data from the Serial Port --|tExample 13-8: Visualizing the Data Stream -- |tExample 13-9: Another Way to Look at the Data 520 Processing opened up the world of programming to artists, designers, educators, and beginners. The Processing.py Python implementation of Processing reinterprets it for today's web. 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, along with co-author Allison Parrish, Getting Started with Processing.py is your fast track to using Python's Processing mode 650 0 Python (Computer program language) 650 0 Computer graphics 650 0 Computer drawing 650 7 Computer drawing.|2fast 650 7 Computer graphics.|2fast 650 7 Python (Computer program language)|2fast 650 7 Programmering|2sao 650 7 Datorgrafik|2sao 700 1 Fry, Ben,|eauthor 700 1 Reas, Casey,|eauthor 907 00 161202
|