Or...
Heat oven on low (about 200 or so). Place a piece of parchment paper on a cookie sheet, place candy canes with crooks and ends touching to make a heart. Heat them until soft then pinch the crooks and ends together to seal. Let them harden.
We just made ours last night.