Discuss Scratch

TrusteeHow
New to Scratch
1 post

Bigger "Set" commands, and multiple stages

I'm hoping to do some evolution-similation programs using user-input parameters. For this to work well, I'd like to have:
- larger Set commands so that it is easier to read and enter the parameters (which will act sort of like genes, and which will randomly mutate), and
- be able to show at the same time about 10 graphic “organisms” generated by these “gene” parameters.
Can anyone tell me how to do these two things.

The user would them act as the agent of selection and pick one (for asexual reproduction) or two (for sexual reproduction) of the displayed “organisms” to survive into the next generation, which will have gene parameters based on random mutations from their parent(s).

To do this, the user will need to see all the offspring of the previous generation at the same time to compare each against whatever the selection pressures might be (spikiness, roundness, simple geometry, large holes, colour, pen width, or just plain old “pleasing to the eye”). The user will then pick one or two of the offspring for survival, and the next generation of organisms is born.

I also plan to do a sound version of this, in which the organisms are several seconds of parameter driven sounds, and the user again provides the selection pressure (most jazzlike, most bluesy, most baroque, etc.), and listens to each generation create new phrases that come sound more and more like real music.

Each time these games are played, the outcome will be different, based in part on the random mutations, and based in part on the selection parameters

The underlying logic isn't that hard, but the display parts have me baffled. Nothing in the manuals even hints at being able to assemble multiple stages into a single display, or how to make the command blocks larger.

Thanks

Powered by DjangoBB