Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create logo #66

Closed
frewsxcv opened this issue Jun 2, 2016 · 4 comments
Closed

Create logo #66

frewsxcv opened this issue Jun 2, 2016 · 4 comments

Comments

@frewsxcv
Copy link
Member

frewsxcv commented Jun 2, 2016

Might fun to do something like this but with the rust logo instead of a rabbit

http://lcamtuf.coredump.cx/afl/rabbit.gif

https://groups.google.com/d/msg/afl-users/_kNrt_n5Nug/vcZvl2Y7C7EJ

@Nemo157
Copy link

Nemo157 commented Dec 26, 2016

This sounded interesting so I started writing a little project to generate it https://github.com/Nemo157/afl-rs-logo. Needs the filtering and sorting stages automated still, but by manually choosing a few interesting images from the corpus I got

WIP 1

EDIT: Cleaned up the code a bit and added a basic greedy selection based on simple Hamming distance, it's not the best way to sort them but it does produce better animation than complete random order. I need to create a larger corpus first so the animation might be smoother then I'll play around with a few distance algorithms, being greedy it needs to have a larger corpus than what is used in the output so it doesn't have the really big final jumps.

WIP 2

EDIT 2: Left afl going for a couple of days in a VM for a larger corpus (corpus.tar.gz attached in case anyone else wants to play round with this, could use it as initial cases for afl). Improved the selection algorithm a bit and pushed a new image. Still not really happy with the selection algorithm, it needs to do something like try and identify parts of the logo in the output so it handles when it gets sliced and shifted around (see the 2nd image, there's some cool parts near the end where it has images like that).

WIP 3

@frewsxcv
Copy link
Member Author

Wow, this is amazing work @Nemo157, thanks for doing this! I'll take a closer look over the next couple days at the code to see how you accomplished this.

@frewsxcv
Copy link
Member Author

@Nemo157 I checked out your repo, followed your (very clear) instructions, and after a couple hours of fuzzing, I was able to generate a very cool gif :) Even though I was able to generate a gif, I still preferred your gifs you created above. I chose one of them and added it into the README in this pull request. If you want to be attributed somewhere in the README for your work on the logo, let me know (though I made the link on the logo.gif in the README link to this GitHub issue).

Thanks again for the work you did here, I really appreciate the effort 🎊 😍 🎉

@Nemo157
Copy link

Nemo157 commented Jan 17, 2017

Awesome 😃 I'm happy with just the link from logo here.

I was really hoping for some sort of flash of inspiration on a better method to select the frames, but it's been too long since I did any real image processing work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants