PeggyDraw 2

peggydraw2

We are pleased to finally release PeggyDraw 2, a little bit of long-delayed software. It's a Processing application that you can use to draw simple 1-bit animations on a 25x25 grid. The neat bit, of course, is that you can press the "Save" button, and the file that it saves is actually an Arduino program, ready to be programmed onto a Peggy 2.

You can download PeggyDraw 2 right here. It's fully built in Processing, so that it works on Mac, Windows, and Linux. Also, open source, designed to be adaptable.


Some things to note about this program:

  • If you don't have Processing on your computer, download it here.
  • The editing interface is easy point-and-click. Try it out to see how it works.
  • You can individually pick different delay times per frame, as low as 20 ms, or give every frame the same duration.
  • The frame data is stored in Arduino program memory, so you're only limited by the flash memory in terms of frame number-- over 250 frames fit on an ATmega328P.
  • The output file is located in the PeggyDraw2 sketch directory, inside a directory named "PeggyProgram" "data." The file is called "PeggyProgram.pde."
  • You can both save a file and later reload it for editing.
  • The formats used in PeggyDraw 2 should be easily adaptable to write sequences for other types of LED grids, even of different aspect ratio and control software.


And, special thanks to Matt Mets, http://cibomahto.com for assistance with Processing.


Update, 3/19/2011: We've posted a new version, PeggyDraw 2 v. 1.1, available at the same location. Note that the output file is now stored in the "data" directory, not a separate "PeggyProgram" directory.

5 comments

The following comments are owned by whomever posted them. This site is not responsible for what they say.
Authored by: Anonymous on Monday, March 14 2011 @ 08:58 AM PDT PeggyDraw 2
I'm interested, but apparently there is not enough mad scientist in me to make it run.
Authored by: Anonymous on Saturday, March 19 2011 @ 09:07 AM PDT PeggyDraw 2
I can't seem to get it to run either...

processing.app.debug.RunnerException: unexpected char: 'i'
at processing.app.Sketch.preprocess(Sketch.java:1352)
at processing.app.Sketch.preprocess(Sketch.java:1205)
at processing.app.Sketch.build(Sketch.java:1568)
at processing.app.Sketch.build(Sketch.java:1553)
at processing.app.Editor$DefaultRunHandler.run(Editor.java:1485)
at java.lang.Thread.run(Thread.java:619)
Authored by: Windell on Saturday, March 19 2011 @ 02:53 PM PDT PeggyDraw 2
Try the new version, posted today.

---
Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/
Authored by: Anonymous on Wednesday, April 18 2012 @ 01:05 PM PDT PeggyDraw 2
When opening a saved sketch made from peggydraw2v1.1 in the Arduino IDE, it STILL requests that PeggyProgram.pde be moved to a folder called "PeggyProgram". If that folder already exists, it will not be able to open the sketch.

I am running Ubuntu Linux 11.10.
Authored by: Windell on Wednesday, April 18 2012 @ 04:34 PM PDT PeggyDraw 2
>it STILL requests that PeggyProgram.pde be moved to a folder called "PeggyProgram". Were you expecting this to have changed (by now)? This is normal and correct behavior. If you do not like the requirement that your sketch file be in the correctly named folder, you are perfectly welcome to complain to the Arduino team about it, or to program the Peggy from avr-gcc directly, rather than from the Arduino development environment. As for the file name, you can either change the name of the file once you create it, change the name of the file in the sketch before you run it, or add in a pair of file open/save dialog boxes to the program. It's straightforward to do so, and we have made the code open and available so that you can make changes like these or others.

---
Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/
Welcome to Evil Mad Scientist Laboratories. New projects are posted on most Wednesdays.


Bookmark EMSL

EMSL RSS

Evil Mad Linkblog

Twitter: @EMSL

Facebook page
del.icio.us
feedburner
Feed on Google Reader
YouTube Channel

Subscribe to get new articles by E-mail:

E-mail address:


Preview | Powered by FeedBlitz

My Account





Sign up as a New User
Lost your password?

Who's Online

Guest Users: 22

DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

Forumposts

Order: New Views Posts
Latest 10 Forum Posts
 
Re: StippleGen
 By:  Bob Hewson
 Tuesday, May 15 2012 @ 01:40 PM PDT
Re: Servo does not respond
 By:  Lenore
 Tuesday, May 15 2012 @ 12:31 PM PDT
Re: solar panel with led light..
 By:  Pedro Ribeiro
 Tuesday, May 15 2012 @ 02:22 AM PDT
Servo does not respond
 By:  Gordon Nezich
 Tuesday, May 15 2012 @ 12:37 AM PDT
Re: Skew
 By:  Windell
 Monday, May 14 2012 @ 10:47 PM PDT
Re: StippleGen
 By:  Windell
 Monday, May 14 2012 @ 09:26 PM PDT
Re: solar panel with led light..
 By:  Jeff in Texas
 Monday, May 14 2012 @ 08:55 PM PDT
StippleGen
 By:  Bob Hewson
 Monday, May 14 2012 @ 05:49 PM PDT
Skew
 By:  tastewar
 Monday, May 14 2012 @ 02:40 PM PDT
Re: solar panel with led light..
 By:  Pedro Ribeiro
 Monday, May 14 2012 @ 05:20 AM PDT