take a drum loop, chop it up into 4 to 16 slices - Plenty of software and drum VST plugins that can do this.
rearrange the loop so it sounds funky fresh
then create another drum pattern with synth drum sounds or 909 etc, and then play the 2 together - layer them , get creative
Offset one for freaky feels - I used to do this with an 808 and 606 drum machine synced to each other.
808 was normal, but the 606 was running a different timing pattern, and offset. Put it through a Boss se-50 multifx and it sounded kick ass and fresh!
Kinda like what Aphex Twin was doing....