0

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 this 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

Michael Myers
  • 184,092
  • 45
  • 284
  • 291

2 Answers2

0

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.

Lie Ryan
  • 58,581
  • 13
  • 95
  • 141
0

You can overlay one image over another using plain CSS

Community
  • 1
  • 1
mvark
  • 2,085
  • 2
  • 20
  • 36