100% нашли этот документ полезным (2 голоса)
14 просмотров

Programming 101: Learn to Code Using the Processing Programming Language, 2nd Edition Jeanine Meyer download

Документ представляет собой описание книги 'Programming 101: Learn to Code Using the Processing Programming Language, 2nd Edition' авторства Жанин Майер. Книга предназначена для начинающих программистов и охватывает основы программирования с использованием языка Processing, включая концепции, функции и создание визуальных проектов. В документе также содержится информация о других связанных книгах и ресурсах для скачивания.

Загружено:

nijasawsar
Авторское право
© © All Rights Reserved
Доступные форматы
Скачать в формате PDF, TXT или читать онлайн в Scribd
100% нашли этот документ полезным (2 голоса)
14 просмотров

Programming 101: Learn to Code Using the Processing Programming Language, 2nd Edition Jeanine Meyer download

Документ представляет собой описание книги 'Programming 101: Learn to Code Using the Processing Programming Language, 2nd Edition' авторства Жанин Майер. Книга предназначена для начинающих программистов и охватывает основы программирования с использованием языка Processing, включая концепции, функции и создание визуальных проектов. В документе также содержится информация о других связанных книгах и ресурсах для скачивания.

Загружено:

nijasawsar
Авторское право
© © All Rights Reserved
Доступные форматы
Скачать в формате PDF, TXT или читать онлайн в Scribd
Вы находитесь на странице: 1/ 51

Programming 101: Learn to Code Using the

Processing Programming Language, 2nd Edition


Jeanine Meyer download

https://ebookmeta.com/product/programming-101-learn-to-code-
using-the-processing-programming-language-2nd-edition-jeanine-
meyer/

Download more ebook from https://ebookmeta.com


We believe these products will be a great fit for you. Click
the link to download now, or visit ebookmeta.com
to discover even more!

The Essential Guide to HTML5: Using Games to Learn


HTML5 and JavaScript 3rd Edition Jeanine Meyer

https://ebookmeta.com/product/the-essential-guide-to-html5-using-
games-to-learn-html5-and-javascript-3rd-edition-jeanine-meyer/

C Programming Learn to Code 1st Edition Sisir Kumar


Jena

https://ebookmeta.com/product/c-programming-learn-to-code-1st-
edition-sisir-kumar-jena/

Programming for Absolute Beginners: Using the


JavaScript Programming Language 1st Edition Jonathan
Bartlett

https://ebookmeta.com/product/programming-for-absolute-beginners-
using-the-javascript-programming-language-1st-edition-jonathan-
bartlett/

Remember Me Ravenswood book 2 1st Edition Mary Balogh

https://ebookmeta.com/product/remember-me-ravenswood-book-2-1st-
edition-mary-balogh/
Plant MicroRNAs and Stress Response 1st Edition Deepu
Pandita Anu Pandita

https://ebookmeta.com/product/plant-micrornas-and-stress-
response-1st-edition-deepu-pandita-anu-pandita/

Pathfinder RPG Advanced Player s Guide P2 2nd Edition


Paizo Inc

https://ebookmeta.com/product/pathfinder-rpg-advanced-player-s-
guide-p2-2nd-edition-paizo-inc/

Sharpening Mathematical Analysis Skills (Problem Books


in Mathematics) Sînt■m■rian

https://ebookmeta.com/product/sharpening-mathematical-analysis-
skills-problem-books-in-mathematics-sintamarian/

Team Roles at Work 3rd Edition R. Meredith Belbin

https://ebookmeta.com/product/team-roles-at-work-3rd-edition-r-
meredith-belbin/

English Folk Poetry Structure and Meaning Roger Dev.


Renwick

https://ebookmeta.com/product/english-folk-poetry-structure-and-
meaning-roger-dev-renwick/
Good Good Father Chris Tomlin

https://ebookmeta.com/product/good-good-father-chris-tomlin/
Programming 101
Learn to Code with the Processing
Language Using a Visual Approach
Second Edition

Jeanine Meyer
Programming 101: Learn to Code with the Processing Language Using a Visual
Approach
Jeanine Meyer
Mt Kisco, NY, USA

ISBN-13 (pbk): 978-1-4842-8193-2 ISBN-13 (electronic): 978-1-4842-8194-9


https://doi.org/10.1007/978-1-4842-8194-9

Copyright © 2022 by Jeanine Meyer


This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microfilms or in any other physical way, and transmission or information
storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now
known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the
trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not
identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. The publisher makes no warranty, express or implied, with respect to the
material contained herein.
Managing Director, Apress Media LLC: Welmoed Spahr
Acquisitions Editor: James Robinson-Prior
Development Editor: James Markham
Coordinating Editor: Jessica Vakili
Distributed to the book trade worldwide by Springer Science+Business Media New York, 1 NY Plaza,
New York, NY 10004. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail [email protected], or
visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is
Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware
corporation.
For information on translations, please e-mail [email protected]; for reprint,
paperback, or audio rights, please e-mail [email protected].
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and
licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales
web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available to readers
on the Github repository: https://github.com/Apress/Programming-101. For more detailed information,
please visit http://www.apress.com/source-­code.
Printed on acid-free paper
To my family, who inspire and teach me.
Table of Contents
About the Author�����������������������������������������������������������������������������������������������������xv

About the Technical Reviewer�������������������������������������������������������������������������������xvii


Acknowledgments��������������������������������������������������������������������������������������������������xix

Introduction������������������������������������������������������������������������������������������������������������xxi

Chapter 1: Basics����������������������������������������������������������������������������������������������������� 1
Abstract����������������������������������������������������������������������������������������������������������������������������������������� 1
Programming Concepts���������������������������������������������������������������������������������������������������������������� 3
Programming Languages and Natural Languages������������������������������������������������������������������ 3
Values and Variables��������������������������������������������������������������������������������������������������������������� 3
Functions��������������������������������������������������������������������������������������������������������������������������������� 5
Specifying Positions and Angles���������������������������������������������������������������������������������������������� 6
Colors�������������������������������������������������������������������������������������������������������������������������������������� 7
Development Environment������������������������������������������������������������������������������������������������������ 7
Role of Planning���������������������������������������������������������������������������������������������������������������������� 8
Under the Covers�������������������������������������������������������������������������������������������������������������������������� 8
Processing Programming Features����������������������������������������������������������������������������������������������� 9
Processing Development Environment������������������������������������������������������������������������������������ 9
Functions������������������������������������������������������������������������������������������������������������������������������� 11
Angles������������������������������������������������������������������������������������������������������������������������������������ 12
Implementing Hello, World���������������������������������������������������������������������������������������������������������� 14
Implementing the Daddy Logo���������������������������������������������������������������������������������������������������� 22
Planning��������������������������������������������������������������������������������������������������������������������������������� 22
Daddy Logo Program������������������������������������������������������������������������������������������������������������� 25

v
Table of Contents

Things to Look Up����������������������������������������������������������������������������������������������������������������������� 29


How to Make This Your Own������������������������������������������������������������������������������������������������������� 29
What You Learned����������������������������������������������������������������������������������������������������������������������� 30
What’s Next��������������������������������������������������������������������������������������������������������������������������������� 31

Chapter 2: Interactions������������������������������������������������������������������������������������������� 33
Abstract��������������������������������������������������������������������������������������������������������������������������������������� 33
Note��������������������������������������������������������������������������������������������������������������������������������������� 33
Programming Concepts�������������������������������������������������������������������������������������������������������������� 35
Events������������������������������������������������������������������������������������������������������������������������������������ 35
Randomness�������������������������������������������������������������������������������������������������������������������������� 36
Displaying Images from Files������������������������������������������������������������������������������������������������ 36
Calculations, Including Built-in Functions����������������������������������������������������������������������������� 36
Looping���������������������������������������������������������������������������������������������������������������������������������� 37
Processing Programming Features��������������������������������������������������������������������������������������������� 37
Note��������������������������������������������������������������������������������������������������������������������������������������� 38
Under the Covers������������������������������������������������������������������������������������������������������������������������ 41
Polygon Sketch Operation Overview������������������������������������������������������������������������������������������� 42
Implementing the Polygon Sketch���������������������������������������������������������������������������������������������� 44
Planning��������������������������������������������������������������������������������������������������������������������������������� 44
Polygon Sketch Program������������������������������������������������������������������������������������������������������� 47
Coin-Toss Sketch Operation Overview���������������������������������������������������������������������������������������� 49
Implementing the Coin-Toss Sketch������������������������������������������������������������������������������������������� 52
Planning��������������������������������������������������������������������������������������������������������������������������������� 52
Things to Look Up����������������������������������������������������������������������������������������������������������������������� 56
How to Make This Your Own������������������������������������������������������������������������������������������������������� 56
What You Learned����������������������������������������������������������������������������������������������������������������������� 57
What’s Next��������������������������������������������������������������������������������������������������������������������������������� 58

vi
Table of Contents

Chapter 3: Animation Using Arrays and Parallel Structures����������������������������������� 59


Abstract��������������������������������������������������������������������������������������������������������������������������������������� 59
More on the Sketches����������������������������������������������������������������������������������������������������������������� 59
Programming Concepts�������������������������������������������������������������������������������������������������������������� 64
Animation������������������������������������������������������������������������������������������������������������������������������ 65
Logical Operations����������������������������������������������������������������������������������������������������������������� 65
Arrays������������������������������������������������������������������������������������������������������������������������������������ 65
Parallel Structures����������������������������������������������������������������������������������������������������������������� 66
Compound Statements���������������������������������������������������������������������������������������������������������� 66
Pseudorandom Processing���������������������������������������������������������������������������������������������������� 66
Processing Programming Features��������������������������������������������������������������������������������������������� 67
Caution���������������������������������������������������������������������������������������������������������������������������������������� 67
Implementing a Bouncing Ball���������������������������������������������������������������������������������������������������� 71
Planning��������������������������������������������������������������������������������������������������������������������������������� 71
Program��������������������������������������������������������������������������������������������������������������������������������� 72
Implementing a Set of Three Bouncing Balls������������������������������������������������������������������������������ 74
Planning��������������������������������������������������������������������������������������������������������������������������������� 74
Program��������������������������������������������������������������������������������������������������������������������������������� 74
Implementing Pentagon Bouncing���������������������������������������������������������������������������������������������� 76
Planning��������������������������������������������������������������������������������������������������������������������������������� 76
Implementing Bouncing Polygons����������������������������������������������������������������������������������������������� 78
Planning��������������������������������������������������������������������������������������������������������������������������������� 79
Program��������������������������������������������������������������������������������������������������������������������������������� 79
Under the Covers������������������������������������������������������������������������������������������������������������������������ 82
Things to Look Up����������������������������������������������������������������������������������������������������������������������� 82
How to Make This Your Own������������������������������������������������������������������������������������������������������� 83
What You Learned����������������������������������������������������������������������������������������������������������������������� 83
What’s Next��������������������������������������������������������������������������������������������������������������������������������� 84

vii
Table of Contents

Chapter 4: Classes�������������������������������������������������������������������������������������������������� 85
Abstract��������������������������������������������������������������������������������������������������������������������������������������� 85
Programming Concepts�������������������������������������������������������������������������������������������������������������� 86
Classes���������������������������������������������������������������������������������������������������������������������������������������� 86
Phases of Operations������������������������������������������������������������������������������������������������������������� 87
Tolerance or Margin��������������������������������������������������������������������������������������������������������������� 88
Processing Programming Features��������������������������������������������������������������������������������������������� 88
Classes���������������������������������������������������������������������������������������������������������������������������������� 88
Definition of Images, Rectangles, and Ellipses���������������������������������������������������������������������� 90
Dynamic Arrays��������������������������������������������������������������������������������������������������������������������� 90
Tolerance and OK-So-Far Coding������������������������������������������������������������������������������������������ 92
Bouncing Objects Overview�������������������������������������������������������������������������������������������������������� 92
Implementing the Bouncing Objects������������������������������������������������������������������������������������������� 94
Planning��������������������������������������������������������������������������������������������������������������������������������� 94
Program��������������������������������������������������������������������������������������������������������������������������������� 96
Make Path and Travel Path Overview���������������������������������������������������������������������������������������� 100
Implementing the Make Path and Travel Path�������������������������������������������������������������������������� 103
Planning������������������������������������������������������������������������������������������������������������������������������� 104
Program������������������������������������������������������������������������������������������������������������������������������� 105
Jigsaw Overview����������������������������������������������������������������������������������������������������������������������� 109
Implementing the Jigsaw��������������������������������������������������������������������������������������������������������� 111
Planning������������������������������������������������������������������������������������������������������������������������������� 111
Program������������������������������������������������������������������������������������������������������������������������������� 114
Under the Covers���������������������������������������������������������������������������������������������������������������������� 125
Things to Look Up��������������������������������������������������������������������������������������������������������������������� 126
How to Make This Your Own����������������������������������������������������������������������������������������������������� 126
What You Learned��������������������������������������������������������������������������������������������������������������������� 127
What’s Next������������������������������������������������������������������������������������������������������������������������������� 127

viii
Table of Contents

Chapter 5: More Interactions�������������������������������������������������������������������������������� 129


Abstract������������������������������������������������������������������������������������������������������������������������������������� 129
More on the Sketches��������������������������������������������������������������������������������������������������������������� 129
Programming Concepts������������������������������������������������������������������������������������������������������������ 130
Ballistic Motion�������������������������������������������������������������������������������������������������������������������� 130
Character (char) Data Type vs. String Data Type����������������������������������������������������������������� 131
Use of Files�������������������������������������������������������������������������������������������������������������������������� 131
Case Statement������������������������������������������������������������������������������������������������������������������� 131
Elapsed Time����������������������������������������������������������������������������������������������������������������������� 131
Regular Expressions������������������������������������������������������������������������������������������������������������ 132
Processing Programming Features������������������������������������������������������������������������������������������� 132
The char Data Type�������������������������������������������������������������������������������������������������������������� 132
The keyPressed Function, key, and keyCode����������������������������������������������������������������������� 133
Table Files���������������������������������������������������������������������������������������������������������������������������� 133
The Switch Statement��������������������������������������������������������������������������������������������������������� 133
The millis and Other Time Functions����������������������������������������������������������������������������������� 135
The match Function for Regular Expressions���������������������������������������������������������������������� 136
ArrayList������������������������������������������������������������������������������������������������������������������������������ 136
Under the Covers���������������������������������������������������������������������������������������������������������������������� 136
Slingshot Operation Overview��������������������������������������������������������������������������������������������������� 138
Implementing the Slingshot Sketch������������������������������������������������������������������������������������������ 139
Planning������������������������������������������������������������������������������������������������������������������������������� 139
Programming the Slingshot Sketch������������������������������������������������������������������������������������� 142
Snake Operation Overview�������������������������������������������������������������������������������������������������������� 151
Implementing the Snake Sketch����������������������������������������������������������������������������������������������� 153
Planning������������������������������������������������������������������������������������������������������������������������������� 154
Programming the Snake Sketch������������������������������������������������������������������������������������������ 155
Image Test Operation Overview������������������������������������������������������������������������������������������� 163
Implementing the Image Test���������������������������������������������������������������������������������������������� 166

ix
Table of Contents

Things to Look Up��������������������������������������������������������������������������������������������������������������������� 171


How to Make This Your Own����������������������������������������������������������������������������������������������������� 171
What You Learned��������������������������������������������������������������������������������������������������������������������� 172
What’s Next������������������������������������������������������������������������������������������������������������������������������� 172

Chapter 6: Images and Graphics�������������������������������������������������������������������������� 173


Abstract������������������������������������������������������������������������������������������������������������������������������������� 173
More on the Sketches��������������������������������������������������������������������������������������������������������������� 174
Programming Concepts������������������������������������������������������������������������������������������������������������ 176
Images As Arrays of Pixels�������������������������������������������������������������������������������������������������� 177
Case Statement������������������������������������������������������������������������������������������������������������������� 177
Pixel Processing������������������������������������������������������������������������������������������������������������������ 177
The beginShape and endShape Vertex Functions��������������������������������������������������������������� 178
Changing the Coordinate System���������������������������������������������������������������������������������������� 178
Hue-Saturation-Brightness Color Mode������������������������������������������������������������������������������ 179
Changing Image Sketch Overview��������������������������������������������������������������������������������������� 179
Implementing the Image Transformations�������������������������������������������������������������������������������� 187
Planning������������������������������������������������������������������������������������������������������������������������������� 187
Programming the Image Sketch����������������������������������������������������������������������������������������������� 188
Origami Flower Graphic Overview�������������������������������������������������������������������������������������������� 191
Planning������������������������������������������������������������������������������������������������������������������������������� 191
Implementing the Origami Flower Sketch�������������������������������������������������������������������������������� 192
Programming the Origami Flower��������������������������������������������������������������������������������������������� 194
Programming the Hexagon with HSB Color Mode�������������������������������������������������������������������� 197
Under the Covers���������������������������������������������������������������������������������������������������������������������� 203
Things to Look Up��������������������������������������������������������������������������������������������������������������������� 204
How to Make This Your Own����������������������������������������������������������������������������������������������������� 205
What You Learned��������������������������������������������������������������������������������������������������������������������� 206
What’s Next������������������������������������������������������������������������������������������������������������������������������� 206

x
Table of Contents

Chapter 7: Using Files for Making a Holiday Card������������������������������������������������ 207


Abstract������������������������������������������������������������������������������������������������������������������������������������� 207
Programming Concepts������������������������������������������������������������������������������������������������������������ 208
Files������������������������������������������������������������������������������������������������������������������������������������� 208
Libraries������������������������������������������������������������������������������������������������������������������������������ 209
Fonts������������������������������������������������������������������������������������������������������������������������������������ 209
Callbacks����������������������������������������������������������������������������������������������������������������������������� 210
Feedback to Users��������������������������������������������������������������������������������������������������������������� 210
Processing Programming Features������������������������������������������������������������������������������������������� 210
Use of the Sound Library����������������������������������������������������������������������������������������������������� 210
Making and Saving an Image of the Current Window��������������������������������������������������������� 211
Use of Java Input/Output Library����������������������������������������������������������������������������������������� 212
Subclasses�������������������������������������������������������������������������������������������������������������������������� 213
Show Fonts Sketch Operation Overview����������������������������������������������������������������������������������� 214
Implementing the Show Fonts Sketch�������������������������������������������������������������������������������������� 216
Programming the Show Fonts Sketch��������������������������������������������������������������������������������� 217
Make Card Sketch Operation Overview������������������������������������������������������������������������������������ 218
Implementing the Make Card Sketch���������������������������������������������������������������������������������������� 223
Planning������������������������������������������������������������������������������������������������������������������������������� 223
Programming the Make Card Sketch����������������������������������������������������������������������������������� 225
Under the Covers���������������������������������������������������������������������������������������������������������������������� 231
Things to Look Up��������������������������������������������������������������������������������������������������������������������� 232
How to Make This Your Own����������������������������������������������������������������������������������������������������� 232
What You Learned��������������������������������������������������������������������������������������������������������������������� 232
What’s Next������������������������������������������������������������������������������������������������������������������������������� 233

Chapter 8: Combining Videos, Images, and Graphics������������������������������������������� 235


Abstract������������������������������������������������������������������������������������������������������������������������������������� 235
Programming Concepts������������������������������������������������������������������������������������������������������������ 235
Video������������������������������������������������������������������������������������������������������������������������������������ 236
Copying a Video������������������������������������������������������������������������������������������������������������������� 236

xi
Table of Contents

Processing Programming Features������������������������������������������������������������������������������������������� 236


Video������������������������������������������������������������������������������������������������������������������������������������ 237
Classes and Subclasses������������������������������������������������������������������������������������������������������ 238
Under the Covers���������������������������������������������������������������������������������������������������������������������� 238
Family Collage Operation Overview������������������������������������������������������������������������������������������ 239
Implementing the Family Collage Sketch��������������������������������������������������������������������������������� 242
Planning������������������������������������������������������������������������������������������������������������������������������� 242
Programming the Family Collage Sketch���������������������������������������������������������������������������� 243
Things to Look Up��������������������������������������������������������������������������������������������������������������������� 252
How to Make This Your Own����������������������������������������������������������������������������������������������������� 252
What You Learned��������������������������������������������������������������������������������������������������������������������� 257
What’s Next������������������������������������������������������������������������������������������������������������������������������� 257

Chapter 9: Word Guessing Game�������������������������������������������������������������������������� 259


Abstract������������������������������������������������������������������������������������������������������������������������������������� 259
More on the Sketches��������������������������������������������������������������������������������������������������������������� 259
Programming Concepts������������������������������������������������������������������������������������������������������������ 262
Implementing an Existing Application��������������������������������������������������������������������������������� 262
Testing and Scaling Up�������������������������������������������������������������������������������������������������������� 262
Displaying the State of the Game���������������������������������������������������������������������������������������������� 263
Displaying Text�������������������������������������������������������������������������������������������������������������������������� 264
Processing Programming Features������������������������������������������������������������������������������������������� 264
Note������������������������������������������������������������������������������������������������������������������������������������� 265
Operation Overview������������������������������������������������������������������������������������������������������������������� 266
Implementing the Word Game Sketches����������������������������������������������������������������������������������� 270
Planning������������������������������������������������������������������������������������������������������������������������������� 270
Programming the Word Game Sketches������������������������������������������������������������������������������ 272
Things to Look Up��������������������������������������������������������������������������������������������������������������������� 286
How to Make This Your Own����������������������������������������������������������������������������������������������������� 287
What You Learned��������������������������������������������������������������������������������������������������������������������� 287
What’s Next������������������������������������������������������������������������������������������������������������������������������� 288

xii
Table of Contents

Chapter 10: 3D������������������������������������������������������������������������������������������������������ 289


Abstract������������������������������������������������������������������������������������������������������������������������������������� 289
Programming Concepts������������������������������������������������������������������������������������������������������������ 292
Processing Programming Features������������������������������������������������������������������������������������������� 293
Under the Covers���������������������������������������������������������������������������������������������������������������������� 303
Rolling Ball at Alhambra Operation Overview��������������������������������������������������������������������������� 303
Implementing the Rolling Ball at Alhambra������������������������������������������������������������������������������� 304
Planning������������������������������������������������������������������������������������������������������������������������������� 304
Programming the Rolling Ball at Alhambra������������������������������������������������������������������������� 305
Rotating Cube Operation Overview������������������������������������������������������������������������������������������� 310
Implementing the Rotating Cube���������������������������������������������������������������������������������������������� 310
Planning������������������������������������������������������������������������������������������������������������������������������� 310
Programming the Rotating Cube����������������������������������������������������������������������������������������� 312
Things to Look Up��������������������������������������������������������������������������������������������������������������������� 318
How to Make This Your Own����������������������������������������������������������������������������������������������������� 319
What You Learned��������������������������������������������������������������������������������������������������������������������� 321
What’s Next������������������������������������������������������������������������������������������������������������������������������� 321

Appendix A: Introduction to p5.js������������������������������������������������������������������������� 323


Getting Started Using p5.js������������������������������������������������������������������������������������������������������� 323
Overview of Examples�������������������������������������������������������������������������������������������������������������� 325
Implementing Daddy Logo�������������������������������������������������������������������������������������������������������� 327
Implementing Fearless Girls vs. the Bull����������������������������������������������������������������������������������� 331
Implementing Rainbow Helix���������������������������������������������������������������������������������������������������� 336
W
 hat’s Next������������������������������������������������������������������������������������������������������������������������������� 341

Index��������������������������������������������������������������������������������������������������������������������� 343

xiii
About the Author
Jeanine Meyer is Professor Emerita at Purchase College/
SUNY. Before Purchase, she taught at Pace University and
prior to that was a manager and research staff member
at IBM Research in robotics and manufacturing. She also
worked as a research consultant at IBM for educational grant
programs.
She was moved to create this book because of a general
wish to make programming less mysterious and more
appealing while featuring the challenges. She enjoys
spending time with favorite pictures and video clips as well as producing programs. The
chance for a new edition provided a reason to explore p5.js, tools for using JavaScript
with features from Processing.
She is the author of five books and coauthor of five more on topics ranging from
educational uses of multimedia, programming, databases, number theory, and origami.
She earned a PhD in computer science at the Courant Institute at New York University,
an MA in mathematics at Columbia, and an SB (the college used the Latin form) in
mathematics from the University of Chicago. Recently, she has given lectures, in-­person
and remotely, connecting origami, mathematics, and computer science as well as the
use and misuse of math in the news. She is a member of Phi Beta Kappa, Sigma Xi, the
Association for Women in Science, and the Association for Computing Machinery.
Jeanine is trying but remains a beginner at Spanish and piano.

xv
About the Technical Reviewer
Joseph McKay is an associate professor of new media. He primarily teaches new
directions in virtual space, programming for visual artists, intro to physical computing,
hacking the everyday, senior seminar, and web development.
Joe’s work is focused on interactive art games. He makes games that have their roots
in fine art but are also fun and easy to play. He is currently working on a VR art game
with innovative locomotion.

xvii
Another Random Scribd Document
with Unrelated Content
in nature. Together we searched the woods, the fields and the banks
of the Loire, procuring every bird we could, and I made drawings of
every one of them—very bad, to be sure, but still they were of
assistance to me."[107]

Charles d'Orbigny, who was Audubon's most intimate early friend


and in all probability his father in natural history, was always spoken
of in terms of great affection. While at Paris in October, 1829,
Audubon learned from the naturalist Lesson that D'Orbigny was then
in charge of the museum at La Rochelle and that "his son, Charles,
then twenty-one," whom "he had held in his arms many times," was
in the city; on October 8 he wrote in his journal: "this morning I had
great pleasure in meeting my godson, Charles d'Orbigny. Oh! what
past times were brought to my mind."[108]
EARLY UNPUBLISHED DRAWINGS OF FRENCH
BIRDS: ABOVE, "LE FRIQUET MÂLE DE BUFFON.
THE SEDGE SPARROW. NO. 13. NEAR NANTZ,
1805. J. J. A."; BELOW, "LE ROSSIGNOL DE
MURAILLES—DE BUFFON—THE REDSTART. NO. 50.
NEAR NANTZ, AUGUST, 1805. J. L. F. A."

Published by courtesy of Mr. Joseph Y. Jeanes.

In later life the elder D'Orbigny seems to have fallen on evil


times. He appeared as a debtor to Lieutenant Audubon's estate, and
the cordial relations that had long existed between the two families
were broken; this is shown only too plainly by the following sharp
letter[109] written by Gabriel du Puigaudeau and addressed to the
doctor, on August 3, 1819, when the family had become reduced in
means:

Gabriel du Puigaudeau to Charles M. d'Orbigny

Your letter of the twenty-fifth of January reached me in due


time. I am grieved to see that you are annoyed because I
addressed you through the voice of the mayor of the town in
which you live, since I had not the honor of knowing the mayor
any more than the enmity which may exist between you; I was
in duty bound to find out where you were; I heard it said that
Esnaudes was your home and I wrote you more than a year
ago; when I received no reply, the supposition was that I must
have been misinformed. I wrote to the mayor of Esnaudes and
he had the kindness to reply that you were practicing in his
commune. I am writing to you under this cover, persuaded that
my last will not have the same fate as my first, which surely had
not reached you.

As to the claim that Madame Audubon has upon you, the


different credits which you mention are assuredly more than
enough to pay the amount, but with forfeitures; unfortunately
there are many creditors who do nothing but this; Madame
Audubon gets nothing, and finds herself in straightened
circumstances, although her hands are full of notes. You say
that your creditors can claim only thirty-five hundred francs. I
have certain knowledge to the contrary, since already the
mortgages on your house reach nearly three thousand francs,
while Madame Audubon is your creditor in the sum of at least
sixteen hundred francs. I wish in business to be frank, and to
have others so with me. You say that you owe rather those who
have supplied you with food; you are unwilling then to recall
that the sums that the late Mr. Audubon lent you repeatedly
were for the same purpose. You tell us to be patient, and who
have been more patient than we for the past four years? You
speak of reduction of interest; indeed it is impossible that you
should have thought of this, or that we should be content with
what you should be so good as to give us, and that when you
deem it convenient, without our being able to file a protest. I
leave you to reflect on what we must think of this matter, and I
beg you to see in my manner of writing to you the
interpretation that I have given to what you write yourself.

Madame Audubon does not think that she should exact at


once the capital in addition to the interest, but she charges me
to say to you that, having a right at least to the interest
accrued, she begs you to have that money paid to her with the
least possible delay.

The following letter concerning D'Orbigny's affairs was also


written by Gabriel du Puigaudeau to J. Cornet of Esnaudes, on June
26, 1819:

Gabriel du Puigaudeau to J. Cornet

Your honored [letter] of the sixteenth was duly received. It


is impossible to be more grateful to you than I am for the
information that you have been kind enough to give me about
Mlle. Bouffard[110] as well as about M. Delouche. I will use it to
my profit. As to the question that you put to me concerning M.
d'Orbigny, I have the honor to tell you that he has lived in the
commune of Vue in this department, and was highly esteemed
and regretted when he left to come here. He lived here fifteen
years without any one having cause to reproach him in any way.
He has always been very well regarded and received by the best
society here, and he carried from Vue the regrets of all. He left
us to take part in a manufactory of soda, established at
Noismoutiers, in the department of La Vendée.

I have had no news of him since. As to his pecuniary


resources, I know him to have but one. His wife had a house, at
Paimbœuf in this department, which was sold three years ago to
satisfy the holders of mortgages. This is all that I can tell you
about them; he owes my mother-in-law about fifteen hundred
francs (money received at different times from my late father-in-
law), for which we have his notes, but God only knows when we
shall be paid.

As early as the autumn of 1805, if not before, plans were laid for
getting young Audubon again safely out of France, for fear, no
doubt, that the remorseless conscription officers of Napoleon would
send him to the war if he remained. At that time Lieutenant
Audubon and his wife issued jointly to their son and to Ferdinand
Rozier a power of attorney for the conduct of their business affairs in
America. Parts only of this punctilious document, which was written
in French, have been preserved,[111] and these through the
translation of a "notary public and sworn interpreter of foreign
languages for the Commonwealth of Pennsylvania, resident in
Philadelphia." The names of the grantors, who signed this letter on
October 21, 1805, were attested under the signature and seal of the
mayor of Couëron; this official upon the same day declared that, in
conformity with the rigorous requirements of the laws of the State of
Pennsylvania, since "no other act, not even a notarial instrument,
can in any manner supply the same," he had examined Anne Moynet
Audubon apart, when she admitted that she perfectly understood
the nature of the act, which she had "signed, sealed, and delivered
of her own free will and accord, without being compelled thereto by
her husband, either by threats, or by any other means of compulsion
whatsoever." The mayor's signature was authenticated three days
later by the subprefect of Savenay, and the formality was finally
closed by the attestation of his signature by the prefect, on the 27th
of November.

It was during this last visit to his home in France that Audubon's
sister, Rosa,[112] was married to Gabriel Loyen du Puigaudeau, who
was not, however, as the naturalist has stated, either "the son of a
fallen nobleman" or his father's "secretary." Du Puigaudeau came
from a family of merchants in easy circumstances, and for a long
time lived the life of a country gentleman of leisure—for a period at
Port Launay, below Couëron, and later, after Lieutenant Audubon's
death, at his own villa, "Les Tourterelles," in that commune, not far
from "La Gerbetière." His father, though of a rich family, was not a
"gentleman," that is, a member of the aristocracy, as the term was
then used in France. Du Puigaudeau was without any settled
business, but his revenues, upon which he depended, failed not long
after the death of his father-in-law. He and young Audubon appear
to have been good friends for many years, and after the latter's
return to America they corresponded to as late as 1820, when for
some reason their relations were broken.

In the spring of 1806 Lieutenant Audubon arranged a business


partnership between his son and Ferdinand Rozier, to endure for
nine years, and also secured passports for both to enable them to
emigrate immediately to the United States. To the same hand can
also be traced their "Articles of Association," which were drawn with
the utmost care and designed to govern them in all their future
business relations in the New World: these were signed by "Jean
Audubon," and "Ferdinand Rozier," at Nantes, on March 23, 1806.
Moreover, eight days before they embarked, a second and more
elaborate letter of attorney was issued to them jointly by the
Lieutenant, his wife, and, in this instance, the aged father of
Ferdinand, under date of April 4, 1806.[113] According to the terms
of this admirably executed paper the partners were entitled to
conduct all the affairs of the grantors in reference to their property
in the United States to the best of their judgment and ability; to
carry on the "Mill Grove" farm, to the extent of their part ownership
in the estate, or to dispose of this interest; "to exploit or cause to be
exploited the mine recently discovered on the said farm, to consult
in every important matter Mr. Miers Fisher, merchant of Philadelphia,
—as a common friend and good counsellor, to keep all necessary
books and registers, and at the end of each year, or sooner, to strike
a balance of the receipts and expenses of the said farm and the
exploitation of the mine, should there be reason for it."

RECEIPT GIVEN BY CAPTAIN S. SAMMIS OF THE


"POLLY" TO AUDUBON AND FERDINAND ROZIER
FOR THEIR PASSAGE MONEY FROM NANTES TO
NEW YORK.
From the Tom J. Rozier MSS.

To secure at this time the necessary passports for their young


men no doubt taxed all the resources of the elder Audubon; Rozier's,
said the naturalist, was written in Dutch, of which he did not
understand a single word, while his own letter stated that he was
born in New Orleans. These subterfuges worked so well that the
inspection officer, after reading Audubon's paper, promptly offered
him his congratulations, adding that he would be only too glad to
leave his unhappy country under as favorable conditions. Audubon
and Rozier sailed from Nantes on Saturday, April 12, 1806, on the
ship Polly, Captain Sammis, but they did not land in New York until
Tuesday, May 28, after a perilous voyage of nearly eight weeks. A
fortnight had been passed at sea when they sighted a suspicious
looking vessel which immediately gave chase, fired several shots
across their bows, and compelled the captain to heave to and submit
to being boarded and searched. This proved to be an English
privateer, named the Rattlesnake. She was rather considerate for a
British cruiser of the period, for she merely impressed two of their
best seamen and robbed them of their provisions, carrying off, said
Audubon, all of their "pigs, sheep, coffee and wine,"[114] in spite of
loud remonstrances of the captain and of an American Congressman
who happened to be among the passengers. "The Rattlesnake," he
continued, "kept us under her lee, and almost within pistol-shot, for
a day and a night, ransacking the ship for money, of which we had a
great store in the run under the ballast which was partially removed,
but they did not go deep enough to reach the treasure. The gold
belonging to Rozier and myself I put away under the ship's cable in
the bow, where it remained until the privateers had departed."

Upon reaching a point thirty miles off Sandy Hook, they learned
from a fishing smack that two British frigates lay off the harbor and
were impressing American seamen, that, in short, they were even
more unwelcome than pirates who sailed under letters of marque.
The captain, thus forewarned of one danger, had the misfortune to
run into another, for upon taking his vessel into Long Island Sound,
she encountered a storm and was stranded in a gale; no great harm
was experienced, however, for the vessel was finally floated off and
reached New York on the following day. The passage money paid by
Audubon and Rozier to Captain Sammis amounting to 525 livres, or
$125,[115] was entered, according to their articles of agreement, as
the first item of their "social expenses." After a brief visit with
Benjamin Bakewell they hurried to "Mill Grove," and Audubon to the
home of his sweetheart, Lucy.
CHAPTER X
"LA GERBETIÈRE" OF YESTERDAY AND TODAY
Home of Audubon's youth at Couëron—Its situation on the Loire—History of the
villa and commune—Changes of a century.

Before following further Audubon's history in America, we shall


return for a more intimate view of the happy home which he had left
behind him in France. This was at Couëron, a small commune in the
arrondissement of Saint-Nazaire, on the right bank of the Loire, nine
miles west of Nantes. Here, as we have noticed, his father had
acquired a country place at about the outbreak of the Revolution.
The old house still stands, though in decay, and is still known as "La
Gerbetière," a name possibly referring to the wheat which is
harvested from the surrounding fields as of yore. In the records of
that district country places are always designated by their proper
names, and it is a curious fact that while such names survive, they
are seldom or never displayed on door or gate.
"LA GERBETIÈRE" JEAN AUDUBON'S COUNTRY
VILLA AT COUËRON, FRANCE, AND THE
NATURALIST'S BOYHOOD HOME.

From a photograph of August 18, 1913.

In a journal written before 1826, Audubon says: "My father's


beautiful country seat, situated within sight of the Loire, about mid-
distance between Nantes and the sea, I found quite delightful to my
taste, notwithstanding the frightful cruelties I had witnessed in that
vicinity not many years previously. The gardens, greenhouses, and
all appertaining to it appeared to me of a superior cast." Though it
was occupied for many years previously as a refuge from the turmoil
or heat of the city, Lieutenant Audubon made "La Gerbetière" his
permanent abode only when he retired from the navy in 1801, still
maintaining, as we have seen, a foothold in Nantes.

Upon Audubon's first return from the United States in the spring
of 1805, he said that his vessel entered the mouth of the Loire and
anchored off Paimbœuf, the lower harbor of Nantes. "On sending my
name to the principal officer of the customs," the narrative
continues, "he came on board, and afterwards sent me to my
father's villa, La Gerbetière, in his barge and with his own men." It is
to be noticed, incidentally, that as the distance to be covered
between the lower and upper harbors was twenty-five miles, or
sixteen miles to Couëron, such journeys no doubt were made upon
the arrival of incoming vessels for the regular business of the
service.

It has been suggested, without proof, that Couëron represents


the ancient town of Corbilo, mentioned by Strabo at the beginning of
our era. Though unquestionably ancient, at the time of the
Revolution it was a small and unimportant parish of poor but
industrious farmers. It occupies rolling ground, but little raised above
the Loire, to the east of Port Launay and nearly opposite Pellerin. As
this commune was easily accessible by river-barge from Nantes, the
revolutionists seem to have thought it worth watching, though
Citizen Audubon found its people in a tranquil mood when he
canvassed their district in behalf of the Central Committee in April,
1793. Couëron is still a farming community, but its population[116]
has been considerably swelled in recent years by the development of
a large industry for the treatment of lead; it is the shot tower and
forest of chimneys of these great metallurgical works that arrest the
eye of the traveler as he approaches Couëron by river at the present
day. The town is also accessible by railroad, but the steamer journey
from Nantes, which is made in less than an hour, is more attractive
as well as more direct. In this section the Loire is flanked on either
side by bottom lands, reduced in places to narrow strips, which are
followed at intervals by elevations called, by courtesy, hills or buttes.
To the west of Couëron, and especially at Pellerin, which stands
high, these buttes come close to the river, which is eating them
away.
My visit to Couëron, which was made on a warm midsummer's
day in 1913, served to correct certain previous impressions, but I
found the old Audubon homestead in its essential aspects but little
changed, considering that over a century had rolled by since the
naturalist's visit which we have just described. After leaving Nantes
at the Gare de la Bourse by one of those quaint little trains which
still do service in the less traveled parts of France, we traversed the
broad Quai with requisite deliberation, passing shops, warehouses
and factories in long array. A slight swerve from the river soon
brought us to Chatenay, now a part of the city; it is still some
distance from that point before the real countryside is reached, and
scenes familiar to southern Brittany are in a measure reproduced.
There were the old farmhouses of rough stone, dear to every
painter's heart, mellowed by age and lichens, and surrounded by
great ricks of straw, for the harvest had been gathered and the
stubble fields were brown. There also the farms were divided into
small plats, marked by willows or ramparts of stone. On higher
ground stood the windmills, characteristic of Brittany also,—stalwart
towers of stone, with broad arms of latticed wood ever ready to take
the sails.

The small station for Couëron lies in the commune of Sautron,


and at this isolated point the traveler will sometimes find a country
conveyance to take him to the village. While we were raising the
dust from this old Couëron pike on the eighteenth day of August,
swallows hawking with characteristic energy for their insect prey
were the only birds we saw to remind us of the ornithologist, who as
a youth had doubtless passed this way many times, over a hundred
years before. The most direct approach to the old Audubon place
from Sautron, as we afterwards learned, is by a path which diverges
on the right and leads through stubble fields and cabbage patches,
along hedgerows and stone walls. We, however, fared on to the
town and soon began to pass shops and small modern houses. On
the side of the village the traveler's eye is certain to be arrested by a
great crucifix in stone,[117] which rises high above the street from a
lofty pedestal, and is approached by tiers of stone steps. Nearly
opposite stands the secrétariat, or official bureau of the commune,
where a solitary clerk, who seemed to welcome my intrusion in a
place where business was utterly stagnant, closed his office and with
characteristic courtesy cheerfully showed me the way. This led
directly westward to one side of the center of the town, and after
passing down a street of old houses of the humblest description, we
were again in the region of brown fields and old farmsteads.

Couëron village, which is marked by a modern church with an


aggressive spire, extends along the river bank, but since its streets
run parallel with it, the river itself is seen only at certain openings,
occurring at irregular intervals. In going to "La Gerbetière" by the
course I have described, the Loire was not visible at any point, and
was not seen until we emerged from one of the village streets at the
steamer's pier. My guide had said that from the rise at the next
crossroads we should see the roof of the house which we had come
to visit, and his prediction was verified when I recognized
immediately its cupola raised above the gray stone walls which there
bound every highway and field. The old villa is rather less than a
mile from the village, but owing to the rolling nature of the country,
it is completely hidden until at close approach it stands suddenly
revealed. It lies in a fork of the road, securely inclosed by high,
massive walls of stone, now hoary with age, while on the front it is
further screened by a natural growth of bushes and trees.
Immediately behind and to the west rises a prominent butte which
cuts off the view to Port Launay on the river; this forms the one
distinctive landmark of the district, as its two windmill towers are
visible from all surrounding points. In Audubon's day the house
commanded a wide view of the Loire, but the river is now so
completely masked by foliage as to be visible only from the upper
windows; apparently it once flowed nearer to the house but has
been pushed away by the construction of modern dykes. The hilltop
to which I have just referred, like the roof of the villa, commands a
panorama of the whole region, including Nantes and all the
surrounding communes.

"La Gerbetière" is now a small estate of less than fifty ares, or


one and a half acres, of land. The buildings, which form a
quadrangle with enclosed court, occupy a corner next the side
street, and stand about 200 feet back from the main highway
leading from Couëron to Port Launay. The extent of the original
property cannot now be determined, but Lieutenant Audubon, who
retired at the age of fifty-seven, was never a farmer on a large scale.
The original house, which probably dates from early in the
eighteenth century, has an easterly wing or L, continued into a long,
low section through which the court is now entered from the road at
the side; this was probably added by Jean Audubon, but the
westerly end and wing are a more modern accretion, built for the
accommodation of additional tenants, as many as three families
having occupied the place in 1857.

"La Gerbetière" was entered from the main street by a small


door which pierces the high enclosing wall, and leads the visitor into
what was formerly an ornamental garden, the original design of
which can still be traced. At the time of my visit, however, this
entrance had long ceased to be an avenue of response. Encouraged
by the sight of a peddler's cart, I walked up the side street and
entered the court. Here the response was prompt and vigorous
enough, and from the guardians of the place, one of which was
chafing at his chain close to the doorway. I crossed rather gingerly
to an open hallway, opposite the main entrance, and knocked
repeatedly, noting here that rooms opened to this small entrance hall
on either side, and that a steep stairway led to others above. At last,
during a temporary lull in the barking of dogs, the "tok-tok" of
sabots was heard on the stairs, and I handed up my card with one
from the director of the Natural History Museum at Nantes. After
various messages had been shouted back and forth, I was led
through another passage to the tenant, who was talking with the
peddler in the garden. Julien Lebréton, who was a farmer on a small
scale, received me kindly and answered my questions to the best of
his ability; it did not surprise me that he was both puzzled and
suspicious, or that his first thought was of our coming to look over
the place with a view to its purchase.

The decayed villa, which stands in the midst of scattered


farmhouses of a humble order, reproduces a style characteristic of
many parts of France. The original house, of two stories, was built of
cream-colored limestone, similar to that for which many French
towns are famous. It has a swelled slated roof with beveled gables.
Surmounting the roof is a cupola which suggests a third story,
carried out in harmony with the lower structure. A narrow balcony,
resting upon a molding of stone and protected by an iron grill,
without which no such house would be considered complete, runs
the length of the second story, and is accessible from every room by
glass doors. From the main entrance below one passes directly
through to the court, about which are now grouped various stables
and other low buildings, not all of which date from Audubon's day.
"LA GERBETIÈRE" AND COUËRON, AS SEEN FROM
THE WINDMILL TOWERS ON THE RIDGE
OVERLOOKING PORT LAUNAY, ON THE LOIRE.

"LA GERBETIÈRE," AS SEEN WHEN APPROACHED


FROM COUËRON VILLAGE BY THE ROAD TO PORT
LAUNAY.

PORT LAUNAY ON THE LOIRE.

What was once a small formal garden is still marked by solid


boundaries of cut limestone. This was evidently constructed by Jean
Audubon, since it occupies the area in front of the original house
and the easterly extension which is attributed to him. The remaining
available land was devoted to fruit, vegetables, and possibly to the
greenhouses which the naturalist mentioned. At one time an
orangery occupied some part of the house or court. There are now
no large trees on the property; the fruits are all of recent and
inferior growth, while the garden I saw was planted to cabbage and
running riot with weeds.

When Jean and Madame Audubon passed through the door


leading from the main street, they entered upon a paved alley which
ran parallel with the high wall, whence they could reach the house
by any one of several walks or enter the fruit garden by another. If
so inclined, they could turn to the right, ascend a flight of granite
steps to a platform on a level with the top of the wall, and under a
shady bower of vines and leafy shrubbery, look off on the racing
waters of the Loire, scrutinize their visitors before admitting them, or
observe such manifestations of life as lonely country roads of that
period had to offer. As they passed up the central garden walk they
could admire the beds of old-fashioned flowers, kept, we may be
sure, in perfect order, for Jean was a very methodical man, and his
wife, we believe, an excellent home maker. This walk led to a low
terrace, flanked with a heavy wall, which ran the whole length of the
house.

What little I saw of the interior of "La Gerbetière" was wholly


devoid of interest, which agrees with the experience of another
traveler who visited Couëron at a slightly earlier date;[118] at the
time of his visit the place was unoccupied and forlorn, and the
vegetation on the garden side so dense that it was utterly impossible
to see any distance from the lower windows.

When "La Gerbetière" came into Jean Audubon's possession it


was already venerable with age, and it was completely restored for
him by an architect named Lavigne.[119] In an inventory drawn up
shortly after Madame Audubon's death in October, 1821, the
property of "La Gerbetière" is described by reproducing the account
given in an early deed bearing date of November 11, 1769, which
reads as follows:

A house called La Gerbetière, situated near the port of


Launay, consisting of a sitting room, drawing room, kitchen,
upper chamber ... garret, and other quarters serving as a
laundry, stable at the back, with pigeon loft above, court,
parterre, vegetable garden to one side, an orangery with orange
trees, in the middle of the house, the whole in front of a close
surrounded by high walls except on the side of the setting sun,
with land belonging to the heirs of M. de la Haye Moricaud, held
mutually,[120] the whole bounded on all other sides by highways.
Notice: The aforesaid house and parterre [stand] in an empty
field, which serves as a fair-ground, and is partly planted with
young trees in serial rows; held in common with the Marquis de
la Musse, with another empty field containing about two
journals of land....[121]

"La Gerbetière," never more than an unpretentious country


house with an attractive garden, was idealized in the fervent
imagination of Audubon when in after life he drew upon the
memories of his youth in France; for it had meant to him escape
from the city, which he detested, to the fields and river which he
loved. Yet, in spite of the abuse which a long line of poor tenantry
inevitably entails, with intervals of total neglect lasting for nearly a
century, this decayed villa of pre-Revolutionary days still stands in
marked contrast to its neighbors, and bears witness to a taste to
which they were strangers. The greenhouses, the fruit and shade
trees, if such it possessed, and all lesser adornments of the place
have vanished long ago, but thanks to the durability of French stone
and mortar, much about this old country seat is still well preserved.
Whether Audubon ever saw his old Couëron home again after
leaving it in 1806 is doubtful, though one of his sons visited the
place, and the naturalist incidentally speaks of a pilgrimage to Les
Sables d'Olonne which might have occurred in 1831 or a little later.
In following the fortunes of the naturalist's family in France it will be
necessary for us to return to La Gerbetière.[122]
CHAPTER XI
FIRST VENTURES IN BUSINESS AT NEW YORK,
AND SEQUEL TO THE "MILL GROVE" MINE
Audubon and Rozier at "Mill Grove"—Their partnership rules—Attempts to form a
mining company lead to disappointment—Decision to sell their remaining
interests in "Mill Grove" to Dacosta—Division of the property and legal
entanglements—Audubon as a clerk in New York—Business correspondence and
letters to his father—Later history of the lead mine and Dacosta—Audubon
continues his drawings in New York and works for Dr. Mitchell's Museum—
Forsakes the counting room for the fields—Personal sketch.

When Audubon and Rozier reached "Mill Grove" at the beginning


of the summer of 1806, they found the troublesome Dacosta
installed as its master by virtue of his interest in the property and his
former position as agent, to which they were now to succeed. No
doubt they found difficulties in carrying out all the articles of
agreement[123] in their business constitution, for they were to take
possession and call Dacosta to account. They were also in duty
bound to investigate the lead mine on the farm, and ascertain
whether it promised any success, and if the expenses already
incurred were warranted, before committing themselves to further
development. One-half the product of the mine and farm was to be
equally divided between them, and in order to visualize clearly their
profit and loss, they agreed to keep a "special book for the purpose."
"On one side," their third "Article" read, "will be entered the items of
expense, day by day, and at the moment this is done, on the other
side [shall also be entered] the sales and products of the farms, and
of all that can result from this business, in such a way that the profit
shall be always apparent by the addition of the items which compose
the debit and the credit."
BEGINNING OF THE "ARTICLES OF ASSOCIATION"
OF JOHN JAMES AUDUBON AND FERDINAND
ROZIER, SIGNED AT NANTES, MARCH 23, 1806.

After the original manuscript of Rozier's copy, in


possession of Mr. Charles A. Rozier.

The house at "Mill Grove" was to be treated as an object


separate from all business, "in order," so the "Articles" read, "that we
may settle matters as completely as we desire." It was also agreed,
in the fourth "Article," that they should "add to the expenses of this
exploitation those necessary for life, and others of a mutual
character, so long as it should suit them to live and dwell together."
It was further stipulated that even if the mine proved a failure, they
should remain six months on the farm, in order to gather useful
information from the country, before embarking in any form of
commerce, whether inland or maritime. The cost of their journey to
America was to be entered as the first item of their "social
expenses," and any expenditure for travel in their mutual interests
was to be considered under the same head. In case they should
persuade any merchants in America to send goods to M. Rozier,
Senior, at Nantes, he should be entitled to one-half the profits, while
the partners should divide the other half between them. All other
profits and losses resulting from their commercial transactions were
to be shared equally. The partners resolved to maintain friendship
and a mutual understanding, but "upon the least difficulty" each
should choose one arbitrator, and the two thus chosen were
authorized to select a third; the partners were bound to accept the
decision thus reached without appealing to any court. In the case of
the death of one of the associates, read the tenth "Article," the
survivor should have sole charge of making a settlement of the
business and should report to the proper heirs. The survivor, in such
an event, would be entitled to a commission of ten per cent [in
addition to his one-half interest], but in no case should the
partnership be dissolved "until after nine years, counting from the
day of the date of the present [instrument]." As will be seen,
Audubon and Rozier were unable to fulfill all the conditions thus
carefully laid down.

Young Audubon's dislike of Dacosta, the uncertainty of the


mining project, and other difficulties of the situation soon decided
the partners to cut short their stay at "Mill Grove." Both were equally
interested in the lead mine, but after working several months
without success in an attempt to form a mining company, they
wisely decided to leave such experiments to the enthusiastic Dacosta
and to seek an opening in trade, where the hazard would be no
greater and their ignorance less profound. Following the advice of
their Quaker friend, Miers Fisher, they decided to sell to Dacosta
their remaining rights in "Mill Grove." As a preliminary it was
necessary to divide the property which had been held in common by
him and Lieutenant Audubon since 1804, and this division was
effected by an agreement drawn up at Philadelphia on the fifth day
of September, 1806.[124] Ten days later the remainder of "Mill
Grove" was conveyed to Francis Dacosta, representing a number of
capitalists whom he had managed to interest in the mine, of whom
the astute Stephen Girard is said to have been one. The sale was
subject to conditions,[125] dependent upon their success in mining
lead, which, as will appear eventually, could not have been fulfilled.
These various transactions are so clearly set forth by Ferdinand
Rozier in writing to his father at Nantes that we shall reproduce his
letter in full:[126]

Ferdinand Rozier to Claude François Rozier


Philadelphia, 12 Sept., 1806

Duplicate.
My very dear and venerable father:

Still in hope of cherished news from you, and replies to my


letters of 31 May, 22 June, and 4 July, I have to tell you that we
have since succeeded in closing all our business relations with
Mr. Francis Dacosta, in the following manner: We are anxious
that our method of procedure may be satisfactory to you; we
have followed the advice of Mr. Miers Fisher, and have had his
approval in all that we have done. What should set you at rest is
that as regards your investment, you will find that I have made
quite a neat profit. Here is a copy of the agreement.
"It is agreed between Mr. Dacosta and Mr. J. Audubon that the farm
of "Mill Grove," which they now hold in common, shall be divided
between them as follows:

"1. Mr. Dacosta shall have the lot of 113 and a half acres, situated
on the N.E. side of Perkioming creek, with all the buildings, mines, et
cet., and in general all that it contains.

"2. Mr. Audubon shall have the lot of 171 acres, situated on the
other side of the creek.

"3. Mr. Dacosta shall pay to Mr. Audubon for the difference [in value]
of the lot of 113½ acres, and of that which it contains:

"1. The sum of eight hundred dollars, payable with interest, in


three years from this day;

"2. The sum of four thousand dollars, upon the first products of
the lead mine.

"4. The contract made with Mr. Thomas shall remain to the charge of
the two parties.

"Note. Mr. Duponceau is begged to draw up the necessary deeds to


put this agreement into execution, which [deeds] we undertake mutually
to exchange at the first requisition."

"[Executed] at Philadelphia, this 5th of Sept, 1806."


[Signed] "Fcis Dacosta"
"Ferdinand Rozier"
"J. Audubon"

The futile attempt that we have made to form a company


[to work this mine], which is a condition [of success], the slight
resources at our command, as well as our lack of knowledge in
work of this kind, all have determined us to abandon our rights
for the offer of four thousand dollars[127] upon the first products
that shall come from the mine. The expense that must be
incurred in [working] it will be very heavy; to this must be
added the uncertainty of success. The mine may promise much
at the beginning, and after that yield nothing. In short an
enterprise of this kind can be properly conducted only by a
capitalist or by a company. We have regarded this mine as a
lottery which can make the fortune of the promoter, or lead him
into great losses. As to the agreement with Mr. Wm. Thomas,
we do not consider it as very serious; since it is quite uncertain
whether he will be paid in whole or in part, as he has not kept
his agreements. This is Mr. Dacosta's opinion. As to our half we
are decided not to let it go under eight thousand dollars, which
is its value as estimated by several farmers. So you see, my
dear papa, that our half [as worth] 8,000 dollars, at least, the
sum of eight hundred dollars by mortgage, with interest, and
that of four thousand dollars upon the first products from the
mine, will cover easily the interest on the purchase of sixteen
thousand francs.

Since expenses are at least double what they would be in


France, owing to the cost of products of every sort, we are
determined to go into trade, to cover our expenses, and to
choose for ourselves some kind of serious work that can lead us
to an honorable establishment. You should be at ease about the
manner we shall adopt for our operations, as we wish only to go
slowly, and especially [to be] guided by the advice of the
respectable persons whose acquaintance we are so fortunate as
to enjoy, and who beyond a doubt will aid us along this thorny
path.

"By our letter of the 4th July we have sent the account
current of Mr. Dacosta, by which Mr. Audubon is charged with
315 dollars and 5 cents; we have begged you to send the
documentary evidence which may put us in a position to prove
that Mr. Audubon ought not to pay Mr. Dacosta's private
expenses, as the matter is to be decided here by arbitrators. We
beg Mr. Audubon to use the utmost speed in sending his
documents. It is our ardent [hope] also that you have received
our first [letter] of May 31, with that of Mr. Bakewell, the
merchant in New York, with a remittance of 3,000 and a few
francs for the purchase of divers objects. I assure you that we
are in the greatest anxiety [as to] what is the state of your
health,[128] as well as that of the family, and to learn if you have
received our letters. The nephew of Mr. Bakewell writes us that
his uncle in New York has despatched several vessels consigned
to you, for which I congratulate you sincerely. We have also
received your letter of the 30th of June, but I cannot reply to it,
since the boat is leaving this evening for Amsterdam, but you
can count upon my conforming to its contents. Your personal
letter grieved me particularly by your last expressions, and I
should wish that you would have done me more justice; I can
have made mistakes, but for ... the idea alone has made me
shudder. I am delighted that all the family is enjoying perfect
health. Embrace dear Mama for me; my kind regards to my
brother and sisters; do not forget to remember me to all the
family, and to our friend, Mr. Audubon, the father, and his family.
Finally, my dear Papa, be assured that I shall forget nothing to
increase our intimacy. You give me the means of supporting it
with labor. Believe in my sincere and enduring attachment.

Your respectful son,


Ferdinand Rozier.

We are eager to hear of the receipt of


our letters, and we beg you to
address them to Mr. Bakewell of
New York.

The inbred caution, sound sense, and sterling integrity which


this letter displays would be a good foundation for any career, and
we are not surprised to find that in after life Ferdinand Rozier
became a keen and successful trader on the western frontier.

Вам также может понравиться