Heat state on a rod

Describe how a heat state on a rod can be represented as a digital image.