Aseprite is open source – https://github.com/aseprite/aseprite/ – but you have to build it yourself to use that version. Personally I just grabbed a copy for 20 bucks, or I may have got it as part of a bundle… I can’t recall. It’s a great product worth supporting.