Archive for the 'nature of code' Category
Box2D ContactListener in Processing
0 Comments Published February 19th, 2010 in box2d, nature of code, processing.orgview applet, download source
Above is a new Box2D Processing example that demonstrates two key aspects of working with Box2D:
1) Though tempting as it may be, you cannot set the location manually of an object in the Box2D world and expect the physics to continue to work. Box2D doesn’t understand teleportation (which is the equivalent [...]
VerletPhysics and Toxiclibs
0 Comments Published February 14th, 2010 in library, nature of code, physics, processing.org, toxiclibsBuilding off of last week’s Box2D and Processing post, I have now posted a short tutorial about the physics package in toxiclibs. The force directed graph example is a simplified version of toxi’s wonderful fidgen project.
Link: http://www.shiffman.net/teaching/nature/toxiclibs/
Box2D and Processing
0 Comments Published February 8th, 2010 in box2d, library, nature of code, physics, processing.org
I’m pleased to announce I’ve published a first draft of a tutorial about using Box2D in Processing.
Tutorial: http://www.shiffman.net/teaching/nature/box2d-processing/
Google code repository: http://code.google.com/p/pbox2d/
I’m struggling here to figure out whether I’m (a) creating a Processing Box2D library or (b) simply creating a tutorial and set of examples piggybacking off of JBox2D. For now, I’m doing [...]
Nature of Code Book Chapter 1 Draft Available
24 Comments Published June 2nd, 2009 in General, book, nature of code, print on demand, processing, programming, publishing, tutorial, vectorsOk, so I may very well be one of the slowest writers ever, but I am pleased to finally announce that I have completed a draft chapter for what I hope will become my next book: The Nature of Code. Based on my experience getting Learning Processing out into the world I’ve decided to [...]
Path Following Dot Product Tutorial
0 Comments Published March 2nd, 2009 in Teaching, book, dot product, draft, excerpt, nature of code, path following, processing.orgAs an addendum to the previous post, here’s an early draft excerpt from Chapter 7 on steering behaviors, more specifically a tutorial related to my new path following examples. Also an excuse to cover the dot product in more detail. All based on Craig Reynolds of course.
Nature of Code Book
4 Comments Published March 2nd, 2009 in Teaching, book, nature of code, processing.orgThis semester, I’ve started working on expanding my nature of code tutorials into a book. My plan is to self-publish (looking into a few options) and have drafts available for download / purchase as early as this summer. I’ll also be publishing excerpts from the book as tutorials on [...]
More Steering Examples
2 Comments Published February 28th, 2009 in Teaching, nature of code, processing.org, steeringI’ve added three new steering examples (based, of course, off of Craig Reynolds’ Steering Behaviors for Autonomous Characters) to the nature of code tutorials. Ultimately, it’s my goal to build out all of Reynolds’ algorithms into a Processing library (much like Open Steer), so stay tuned. . .
Path Following
Flow Field
Crowd [...]
Art collides with Code
0 Comments Published February 10th, 2009 in art and code, nature of code, processing.orgTwo announcements.
I am incredibly honored and excited to be participating in the upcoming Art and Code symposium, organized by Golan Levin at Carnegie Mellon University.
Visit Art and Code
In addition, I’m finally working on a new tutorial page for the Nature of Code site. The tutorial will be about resolving collisions and [...]
Search
You are currently browsing the daniel shiffman weblog archives for the 'nature of code' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Archives
- February 2010
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- April 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
Categories
- airport (3)
- API (1)
- art and code (2)
- asterisk (3)
- ben fry (1)
- big screens (11)
- bigscreens (4)
- blog (107)
- book (6)
- books (1)
- box2d (2)
- casey reas (1)
- cmu (1)
- dot product (1)
- draft (1)
- email (1)
- evolution (1)
- excerpt (1)
- exhibition (1)
- General (13)
- iac (11)
- installation (14)
- interview (2)
- ITP (73)
- itp30 (1)
- java (30)
- jepson (2)
- learning processing (1)
- library (8)
- montreal (1)
- most pixels ever (1)
- mpe (21)
- nature of code (8)
- netflix (2)
- neural (3)
- numbers (1)
- obx labs (1)
- openframeworks (4)
- oxford project (1)
- p5 (90)
- path following (1)
- peninsula school of art (1)
- phone (3)
- php (1)
- physics (2)
- podcast (1)
- poetry (1)
- poker (2)
- presentation (1)
- print on demand (1)
- processing (2)
- processing.org (53)
- programming (19)
- publishing (2)
- qrcode (1)
- random (1)
- rhizome (1)
- run lola run (1)
- sftp (1)
- show (2)
- simplicity (2)
- steering (1)
- swarm (2)
- Teaching (5)
- teaching_ (53)
- terminal01 (3)
- text (1)
- timeline (1)
- toxiclibs (1)
- travel (1)
- tutorial (1)
- vague terrain (1)
- vectors (1)
- video (1)
- videowall (3)
- vlog (20)
- voronoi (4)
- wordnet (1)
- xbee (1)
- yahoo (1)
- Zoog (1)