Program in a Program?

I don’t know of a simple way to do what you’re describing; there isn’t a drawOtherSketch() function or anything.

But you could do something like encapsulate your drawing logic into a function or class and then call that code from your main draw() function.