Stuart Axon
2010-05-05 14:00:18 UTC
Here: http://bitbucket.org/stuaxo/toybot/
At the moment theres just shoebot.py.
If you run it, you'll get 10 SVGs.
The Bot itself is embedded at the end of the code for now.
All thats working right now is:
background(r, g, b)
size()
rect()
FRAME
fill(r, g, b)
Heres the TODO:
1
Implement transforms.
1a
- The transform should be tracked as the bot runs, with just the absolute
coordinates being output to the draw queue at each stage.
Reference transform implementation:
http://dev.nodebox.net/browser/nodebox-java/branches/rewrite/src/java/net/nodebox/graphics/Grob.java
getCenteredTransform()
1b.
Write test bots, to check transforms on nodebox work in the same way as here.
2
Get output working to a window.
2a
Implement Either GTK, or use something else for output, e.g. pyglet
2b
Test performance against shoebot classic.
3
Review external API.
Aims:
- It should be as easy as possible to pass in a Cairo context and get a frame
drawn on it.
- Possibly be able to iterate through frames on a bot.
4
Integrate new code.
4a
Start new shoebot branch
4b
Move code that is working into branch
4c
Stub out other methods with NotImplemented
S++
At the moment theres just shoebot.py.
If you run it, you'll get 10 SVGs.
The Bot itself is embedded at the end of the code for now.
All thats working right now is:
background(r, g, b)
size()
rect()
FRAME
fill(r, g, b)
Heres the TODO:
1
Implement transforms.
1a
- The transform should be tracked as the bot runs, with just the absolute
coordinates being output to the draw queue at each stage.
Reference transform implementation:
http://dev.nodebox.net/browser/nodebox-java/branches/rewrite/src/java/net/nodebox/graphics/Grob.java
getCenteredTransform()
1b.
Write test bots, to check transforms on nodebox work in the same way as here.
2
Get output working to a window.
2a
Implement Either GTK, or use something else for output, e.g. pyglet
2b
Test performance against shoebot classic.
3
Review external API.
Aims:
- It should be as easy as possible to pass in a Cairo context and get a frame
drawn on it.
- Possibly be able to iterate through frames on a bot.
4
Integrate new code.
4a
Start new shoebot branch
4b
Move code that is working into branch
4c
Stub out other methods with NotImplemented
S++