Recipes can be purchased from Vatel in the bazaar, Basil at the lobby at depth zero of every mission, Basil at clockwork terminals in the arcade, or from the Hall of Heroes.
Vatel, the recipe selling NPC in the Bazaar, has a fairly limited stock of recipes, and he changes his supply every 24 hours, i believe.
The Basil you find at the beginning of a mission sells a different set of recipes for each mission. The Basil found in clockwork terminals sells a different set of recipes every time you visit a clockwork terminal, chosen from a list completely at random. Take a look at Basil's page on the wiki for a more detailed list of his recipes for each mission, here (http://wiki.spiralknights.com/Basil)
There's also the NPC's selling recipes at the Hall of Heroes, each selling a static selection of recipes. If you're looking for one that sells Troika recipes, it might have been Izola (http://wiki.spiralknights.com/Izola)
All three vendors are capable of selling troika recipes, though, so i can't really tell you which it was.
As for obtaining driftwood, those are only dropped by lumbers (The big tree golems that slam you with one arm.). You could also attempt to purchase driftwood from other players through the auction house, north of the fountain in Town square.