Spiral and Random Path generators with the modifications required in canvas and index