Anyone Have A How To For The Harry Potter Hat??

I have seen some cakes that are cooler that belief! They look like the Harry Potter Sorting hat! I am dying to know how it was done because ever single one I have seen looks so stinking neat I just have to make one for myself lol!! I am searching, but having little to no luck finding how tos....any links would be greatly appreciated!!