Prime Number Generator

Prime Number Generator

by Wes64

👁 8,047 ❤️ 243 ⭐ 194 🔄 18
Created: Sep 28, 2014 Last modified: Sep 28, 2014 Shared: Sep 28, 2014

Description

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.

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).

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Lincoln Loud Beat up I with a ruler

by Markdanieltan20

Project thumbnail
View Project

zzzzzzzzzzz zzzzz z z z z z z z z z z z z z z z z z z zz z z zzzzzzzzzzzzzzzzzzzzzz

by sohel_samit

Project thumbnail
View Project

Sesame Street Youtube Video Simulator V1.3

by Cburris2011

Project thumbnail
View Project

What if the darkness took over Bad Weird…

by jllllllllj

Project thumbnail
View Project

What speed bumps are meant for | Beamng shorts remix

by WhichScratchPython

Project thumbnail
View Project

bouncing balls! v1.3

by sepinoob

Project thumbnail
View Project

走るキャラ UNDERTALE

by Naka0222

Project thumbnail
View Project

BarryFans Band (Band Version) But With Doubles Sounds (Halves Version)

by juanfrilla

Project thumbnail
View Project

Dont let Dess escape as Asgore

by Hyuray1234

Project thumbnail
View Project

mario party 7- windmillville theme

by sstrotmanefsd

Project thumbnail
View Project

add your favorite electronic item and remix it

by sonic2000

Project thumbnail
View Project

Are we there yet remade For: @-NerdAnimator-

by 703755703755

Project thumbnail
View Project

ant simulation (i made it myself so...)

by Califf

Project thumbnail
View Project

~五代目~ 太鼓の達人 ニジイロver. v4.0.1

by Kuppi-scratch

Project thumbnail
View Project

SDGsスクラッチver.素材配布(エンジン)

by itakun16

Project thumbnail
View Project

Beat Up Shiny EXTREME full version!!!!

by JonDoe128

Project thumbnail
View Project

Little Einstein Theme Song

by SilverJellyFish111

Project thumbnail
View Project

Endless Greek "αστείος" remix

by hi48_

Project thumbnail
View Project

TvoKids Letters Dancing cause they're excited for S2 remix remix remix

by sava3568

Project thumbnail
View Project

Cyber Bean Tumble #games #all

by StarryOrange

Project thumbnail
View Project

Вести недели. 2 выпуск.

by PBSKidsFan2017

Project thumbnail
View Project

one night with a random guy

by whyamistuckintrafflc

Project thumbnail
View Project

LINE Wars

by RHY3756547

Project thumbnail
View Project

Numbers to Absolute Infinity

by ChessCoder12