Progress bar often seems something very complicated to show . Here, we will show how it can be done with just 3-4 lines of code.
We have two input button, one for auto increment of download, while the other two are for manual control the progress bar. The function draw increases the percent value which decides the width of the image. As the width increases, the progress bar seems to progress forward.