ScratchData LogoScratchData
Back to Java_Programmer's profile

Creating the Scratch Cat w/ Genetic Algorithm

JAJava_Programmer•Created February 3, 2018
Creating the Scratch Cat w/ Genetic Algorithm
70
47
848 views
View on Scratch

Instructions

Enjoy! :) Feel free to mess around with the "#" variables inside. If you're impatient, run it on sulfurous with turbo mode: https://sulfurous.aau.at/#201868854

Description

Thanks to @cmk1234 for the original and all the separated parts. Not trying to show off or anything, but I wanted to see how this would turn out with a genetic algorithm. I would have used gradient descent, but since there is only one solution to this, it would just figure it out immediately. The colors represent the parents. Each parent starts off completely with one color, and then as genes are crossed over, different parts receive colors from different parents, plus some mutation. I transferred all the parts into one sprite since I'm more used to working with a master sprite, if you will, than trying to coordinate a bunch at once.

Project Details

Project ID201868854
CreatedFebruary 3, 2018
Last ModifiedFebruary 3, 2018
SharedFebruary 3, 2018
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root