Switch to full stage
Loading Project
Loading project …

Instructions

Specify the amount of primes numbers, then say Y when you want it to display. This can also be used offline to generate large lists of primes in the list "primes". It takes a while to print them out nicely, so if you want tens of thousands of prime numbers then just call "getprimes" on whatever number (outside of the existing scripts).

Notes and Credits

Optimized number generator. Can do approx 10,000 primes in 12 seconds. Larger numbers will result in the program freezing until it is done, so pay attention to the projected calculation time. Runs the fake command-line emulator I developed. This includes options to print text, receive input, receive confirmations of yes and no, and print dividers. Fairly useful way to get output formatted nicely without trying too hard. I guess just an update about me - I now have no idea what is going on on Scratch since I've been gone for a year. I'll be trying to distribute translate projects I make in Python or SmallBasic into Scratch so I can share them. The command-line interface is meant to ease this transition. I may or may not make more powerful games, but now that I know Python I can apply high-powered concepts to Scratch, so it may prove useful. We shall see how this goes.

TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast. Try it out by inputting a project ID or URL above or choosing a featured project below.