How to create a Acceleration ramp

Did you try google ?

You have to at least make an effort here. Ask a question and we'll answer it. Don't ask us to write your sketch for you . We're not going to do your homework for you. Pick a place to start and start researching it. There's hundreds of tutorial examples out there for accelerating dc motors or pushing buttons. If you can't be bothered to do any of the research then neither can we.