Limit search to available items
Book Cover
PRINTED MATL
Author Bunn, Tristan
Title Learn python visually : creative coding with processing.py / Tristan Bunn
Publisher San Francisco, CA : No Starch Press Inc, 2021

LOCATION CALL # STATUS
 SUP General stack  QA76.73.P98 B85 2021    ON SHELVES
Description xxii, 270 p. : col.ill., chart ; 24 cm.
Note Includes bibliographical references and index
Contents Chapter 1 Hello, world! -- Chapter 2 Drawing more complicated shapes -- Chapter 3 Introduction to strings and working with text -- Chapter 4 Conditional statements -- Chapter 5 Iteration and randomness -- Chapter 6 Motion and transformation -- Chapter 7 Working with lists and reading data -- Chapter 8 Dictionaries and JSON -- Chapter 9 Functions and periodic motion -- Chapter 10 Object-oriented programming and PVector -- Chapter 11 Mouse and keyboard interaction
Summary This book begins with the basics and builds up toward more advanced topics as you progress. Each chapter, therefore, requires a grasp of the concepts introduced in the chapters preceding it. You'll be working, step by step, through a series of practical tasks. You'll also find some theory, plenty of visuals, and challenges to consolidate what you've learned. The following outline provides a brief overview of the contents in each chapter: Chapter 1: Hello, world! this chapter covers the installation and setup procedure for the book and introduces the basics of drawing with code. You'll also learn how computers manage color, how you can store and reuse values (using variables), and how to perform basic arithmetic operations using Python. Chapter 2: Drawing more complicated shapes having covered some drawing essentials in the first chapter, you'll move on to drawing more organic shapes, as opposed to geometric ones. You'll learn to define shapes by using points (or vertices) and curves, which enable you to draw just about any shape with code. Chapter 3: Introduction to strings and working with text in this chapter, you'll learn how to use Python's string features to manipulate text. You'll also learn how to use processing functions to draw text to the display window, in different styles and colors, and in different fonts. Chapter 4: Conditional Statements in this chapter, you'll introduce control flow to your programs. Chapter 5: Iteration and Ramdomness in this chapter, you'll learn how to write programs that can repeat an operation a specified number of times or until a certain requirement is met. Chapter 6: Motion and Transformation this chapter focuses primarily on adding motion to your processing programs and transforming the drawing space. Chapter 7: Working with lists and reading data you'll explore techniques for data visualization. Chapter 8: Dictionaries and JSON dictionaries are similar to lists in that they store collections of items. Chapter 9: Functions and periodic motion you'll use functions to divide a program into named sections of reusable code. Chapter 10: Object-oriented programming and PVector in this chapter, you'll employ an object-oriented approach to building an amoeba simulation. Chapter 11: Mouse and keyboard interaction in this chapter, you'll add interactivity to your programs.
Subject Python (Computer program language)
Computer programming
ISBN 9781718500969 (pbk.)

Location

SUP = Petchburi Information Technology Library
SUS = Sanamchandra Palace Library
SUT = Thapra Palace Library