I would like to figure out how to programmatically move the bear face and popsicle stick horizontally 1/28th of the way for each day of the month. I need to do thi开发者_开发知识库s for charts ranging from 25 to 35 days in which the face would have to move 1/25th to 1/35th of the way each day, respectively. The reason for not doing this manually is that I'm trying to pull a different bear face each day from a database. Not sure how to attack this.
Bear Chart
this will depend on the language, but you will want some sort of image processing library.
Say, if you use PHP, then GD is a good start.
In Python, look at PIL.
In Ruby, there is RMagick.
You can overlay one image over another using plain CSS
精彩评论