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

PBS Kids Wild Kratts Funding Credits remix

by PlanetCocukYediYasve

Project thumbnail
View Project

Beat Up Bonzi Buddy all button

by pitchproductions

Project thumbnail
View Project

Beat up purple ball (8) remix

by FNFcharactertests10

Project thumbnail
View Project

Notoriety.Test

by Flaryy

Project thumbnail
View Project

David's Pack: The Movie: Blu-ray Special Edition DVD Menu

by davidthinksaboutyou2

Project thumbnail
View Project

☁ Cat Dash ☁ (multiplayer)

by toxicfire72

Project thumbnail
View Project

Beat up 21137673 Two

by SO_EASY-

Project thumbnail
View Project

Just Dance Scratchified: 1st Edition Preview

by everone123

Project thumbnail
View Project

Opening Of Disney.Pixar Liability A Cars Story 2025 DVD

by Thomasandfriends345

Project thumbnail
View Project

Flower Maker

by ZebraCream

Project thumbnail
View Project

Scratch Party 2 1.0

by ButtercupNetwork

Project thumbnail
View Project

Hippo on the Moon!

by no_namer007

Project thumbnail
View Project

Beat up Edward OMEGA!

by DylantheXD_2022

Project thumbnail
View Project

Numberblocks Object Show | Intro

by Aimer18

Project thumbnail
View Project

All Scratch 3.0 Hacked Blocks

by GreenScripter

Project thumbnail
View Project

Opening To Barney & Duolingo's great adventure: The Movie (2027) DVD

by barbieyol123

Project thumbnail
View Project

☁ FALL GUYS [ONLINE RACE]

by ColorlessWing_Studio

Project thumbnail
View Project

Tower Defense Simulator Modded

by ALotOfVariety

Project thumbnail
View Project

Project Thumbnail ! v 2.0

by Bunnyz_UwU_Alt

Project thumbnail
View Project

Beat up Sonic (REMADE) remix

by doheodjeoud

Project thumbnail
View Project

Radcliff And Friends Fight Cloud

by Axel_024

Project thumbnail
View Project

Jumpstart Elimination 2025 Ep 10: Double Digit Speedrun

by Ahnaf4

Project thumbnail
View Project

Freddy's Funhouse!

by Poultscorch

Project thumbnail
View Project

ADOFAI - Neo Cosmos T4 but there are no holds and there's only 2 balls

by IDKwat2put4a_name123