D
Daniel Moore
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The three rules of Ruby Quiz:
1. Please do not post any solutions or spoiler discussion for this
quiz until 48 hours have elapsed from the time this message was
sent.
2. Support Ruby Quiz by submitting ideas and responses
as often as you can.
3. Enjoy!
Suggestion: A [QUIZ] in the subject of emails about the problem
helps everyone on Ruby Talk follow the discussion. Please reply to
the original quiz message, if you can.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RSS Feed: http://rubyquiz.strd6.com/quizzes.rss
Suggestions?: http://rubyquiz.strd6.com/suggestions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Console-based Pixel Editor (#231)
Your challenge is to create a text-mode, character-based application
for editing images. The minimum functionality required is the ability
to navigate to an arbitrary pixel in the image, and set the pixel's
color to an arbitrary RGB value. For extra credit you may wish to
include an alpha channel, a brush tool (with multiple sizes), a clone
stamp tool, a scripting interface, and anything else within or beyond
your wildest dreams.
Some tools that may be of use:
ncurses gem: http://github.com/elliottcable/ncurses
HighLine: http://highline.rubyforge.org/doc/
Have fun!
The three rules of Ruby Quiz:
1. Please do not post any solutions or spoiler discussion for this
quiz until 48 hours have elapsed from the time this message was
sent.
2. Support Ruby Quiz by submitting ideas and responses
as often as you can.
3. Enjoy!
Suggestion: A [QUIZ] in the subject of emails about the problem
helps everyone on Ruby Talk follow the discussion. Please reply to
the original quiz message, if you can.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
RSS Feed: http://rubyquiz.strd6.com/quizzes.rss
Suggestions?: http://rubyquiz.strd6.com/suggestions
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
## Console-based Pixel Editor (#231)
Your challenge is to create a text-mode, character-based application
for editing images. The minimum functionality required is the ability
to navigate to an arbitrary pixel in the image, and set the pixel's
color to an arbitrary RGB value. For extra credit you may wish to
include an alpha channel, a brush tool (with multiple sizes), a clone
stamp tool, a scripting interface, and anything else within or beyond
your wildest dreams.
Some tools that may be of use:
ncurses gem: http://github.com/elliottcable/ncurses
HighLine: http://highline.rubyforge.org/doc/
Have fun!