The dynamic lists of posts in WordPress are based on concept of loop. You will need to retrieve sets of posts (with get_posts()
or in other way), you want displayed, and iterate through it to generate markup for slider to use.
There are many slider plugins for WordPress around you can look up and study.