Do you love watching cool timelapses of constructions or other massive work done in minutes? Lets make one here.
We will be looking at an excavator digging quarry, making pictures each day to see whole progress. And your task is to show us this process!
Quarry is defined by the width of its first layer.
Excavator is defined by its capability to dig in one day.
Width of quarry. Integer number, always >= 1.
Excavator dig speed. Integer number, always >= 1.
Progress of digging quarry on each day. Started with flat untouched ground and finished with completed quarry.
On the last day there may be less units to dig, than excavator is capable of. Excessive work won't be used anywhere, so you should just output fully dug quarry.
All days progress must be present in the output at once. You can't clear or overwrite previous day progress in the output.
Trailing and leading newlines for each day output are acceptable in any reasonable number.
This is code-golf, so make your code as compact as possible.
Work starts with a flat ground. Length of displayed ground is width of quarry + 2. So there always will be one underscore character on both sides of quarry.
Dug quarry is looking like this for even width:
_ _ \ / \ / \ / \/
And like this for odd width
_ _ \ / \ / \ / V
Here are examples of quarry progress:
_ _______ V dug 1 unit _ ______ \/ dug 2 units _ ___ \___/ dug 5 units _ _ \ __/ dug 10 units \_/
Full progress example. Quarry width: 8. Excavator speed: 4 units per day.
__________ _ _____ \__/ _ _ \______/ _ _ \ __/ \__/ _ _ \ / \ __/ \/ _ _ \ / \ / \ / \/
Excavator will need to dig on the last day exactly its capability (speed)
Width: 7, Speed: 3 Width: 10, Speed: 4