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

SMOSOS | 6b | Not Your Usual Race (RECOVERED)

by F1R3_Fan

Project thumbnail
View Project

Roller Coaster

by toothbrush1000

Project thumbnail
View Project

Meme Mania

by GarboMarvin

Project thumbnail
View Project

cursed paper minecraft

by petitepatate34

Project thumbnail
View Project

Cookie Clicker

by CuriousGamer

Project thumbnail
View Project

カラフル!プラットフォーマー!モバイル対応!!

by kshr00

Project thumbnail
View Project

Diep.io (100% Pen) v0.5 日本語版

by tantan9024

Project thumbnail
View Project

Galaxy B [COMPLETE]

by BountyThunder98

Project thumbnail
View Project

Rainbow Bubble Pattern

by jpillof2

Project thumbnail
View Project

Gas Station Simulator V1

by Daniboy_Studios

Project thumbnail
View Project

Spanish Alphabet Lore cast vector

by dantethecreator2021

Project thumbnail
View Project

Snake Dash! 2.7

by Djf18

Project thumbnail
View Project

Numberblocks Band Retro 51-60 (Band Version)

by Trioctoblock24

Project thumbnail
View Project

空条承太郎vsDIO 日本語版

by YUUJI0001

Project thumbnail
View Project

Platformer 雲の写真とプラットフォーマー 2!

by 46491cat

Project thumbnail
View Project

【モバイル】Ⓜ︎I2️⃣ホラーゲーム“振り向くな„part1

by yuibo

Project thumbnail
View Project

アンダーテール キャラ戦第二形態!!

by UBIT2011

Project thumbnail
View Project

戦闘中(CPUと)

by KAGENOMONO2

Project thumbnail
View Project

にゃんこ大戦争 プラットフォーマー‼ パート4もあるよ/Nyanko Great War Platformer! There is also part 4

by ryu0310

Project thumbnail
View Project

Burning Ship Fractal with zooming

by Philipuss

Project thumbnail
View Project

BEAT Saber | v 1.2.1

by cooffice

Project thumbnail
View Project

StickFight 1.7.2 [Cyber World]

by PiouRixx

Project thumbnail
View Project

大道芸 Ver.4.0 --- the シューティング ---

by inotomoking

Project thumbnail
View Project

f1 game

by hthompsonsg