DEV Community

Cover image for How to create a cartoon profile picture with javascript
Brandon
Brandon

Posted on • Updated on

How to create a cartoon profile picture with javascript

Recently I have noticed a huge amount of AI cartoon profile photo generators popping up all over the app store. I thought this idea was cool, but would require a sophisticated backend or machine learning layer to make it happen. Turns out, you can accomplish most of the features in javascript / react.js.

Meet ComicFun
ComicFun is a new open source project that uses JavaScript .filter and posterize functions to turn an ordinary profile picture into a cartoonified portrait. Simply upload a photo, or open the device camera to snap a selfie (coming soon). ComicFun is open source, so all the source code can be viewed in this repo.

Thank You
Thanks for checking out the repo, and Merry Christmas! If this project interests you as well, give it a star, and consider contributing! There are many more updates in the pipelane, as the main photo transformer will be functional soon. (full backend source code available soon)

Top comments (0)