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

F1 2022

by redpengweeno

Project thumbnail
View Project

✵↽JOHNFIGHTERS 2⇀✵ (2 Player)

by Dorbledoo

Project thumbnail
View Project

Windows 98

by Pulsarsoftware

Project thumbnail
View Project

Last breath ink!sans phase_ v1.26

by nigu2729

Project thumbnail
View Project

Scratch lookup 1.5 | the ultimate stats viewer

by kokofixcomputers_sa

Project thumbnail
View Project

Uno Reverse Card | #All #Animations #Art #Stories

by Cool_NickXD

Project thumbnail
View Project

-Cinema Tycoon-

by Cooler_Tim

Project thumbnail
View Project

Small Cuphead Boss fight

by STDfr

Project thumbnail
View Project

Five Nights At Pico's Redux [Full Version]

by FNAF_FAN2007

Project thumbnail
View Project

Mistakeblocks Band 1 (The Band of Mistakeblocks is Start)

by Windows11Scratch470

Project thumbnail
View Project

Leavanny VS Zekrom / ハハコモリ対ゼクロム

by Psychic_Leavanny

Project thumbnail
View Project

Sonic Adventure 3 v.1.1

by Poppy63

Project thumbnail
View Project

One night in Chickibamboni

by chickibamberg

Project thumbnail
View Project

Hardmode Sans (Being Remade)

by Iseekperfection

Project thumbnail
View Project

D3!InkSans Leak smh my head

by Dragon_113

Project thumbnail
View Project

自動百人一首読み上げ

by konosakikirin

Project thumbnail
View Project

なんかもう一個作っちゃった...(ハマった)

by usa3ds

Project thumbnail
View Project

スイカゲーム!           reverse watermelon game 逆スイカゲーム!Suika game

by s20210158

Project thumbnail
View Project

大冒険 【バトルゲーム! モバイル対応!】

by onigirikun_2009

Project thumbnail
View Project

Your Parents When You Turned The Car Roof Light On

by -RobloxAnimations

Project thumbnail
View Project

Submarine Seascape

by Orange_Lion

Project thumbnail
View Project

Geometry Dash 2.2

by mike24062013

Project thumbnail
View Project

Lunar 3D Engine v2.1.1

by TheGoodGuy8000

Project thumbnail
View Project

ロックマン10 mega man 10

by scratchmega_man