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

talking news English.

by ASNJAI1234

Project thumbnail
View Project

[EX 2.5] ScratchTok - TikTok for Scratch v0.2.1

by Nullify_Scratch

Project thumbnail
View Project

Klasky Csupo Gets Grounded Thumbnail By @Aaron_TheCreator

by Blueminagirl

Project thumbnail
View Project

Magic Tiles 3

by joshua123gamercool6

Project thumbnail
View Project

Up to faster 56 parison (barney the dinosaur)

by Coding-person_good

Project thumbnail
View Project

Just Mike’s Norwegian Alphabet lore vectors

by Pierrot2030

Project thumbnail
View Project

Super Mario Bros. X for Scratch

by mariofan235

Project thumbnail
View Project

Beat up Gummy bear

by everton_trader

Project thumbnail
View Project

Alice H (Nickelodeon Creatures Style)

by juanfrilla

Project thumbnail
View Project

Juste Pour Rire/Just For Laughs Logo (1998-2013 Remake, Portuguese Variant)

by chanchitobarbie

Project thumbnail
View Project

Sprunki - simons realm (PHASE 2 UPDATE) remix

by sprunkio00

Project thumbnail
View Project

beat up peppa pig 1 QWERTY

by Jedi12345Js

Project thumbnail
View Project

beat up mr. bill new content 2

by ULLAESV

Project thumbnail
View Project

Cool Platformer nature

by 945gg

Project thumbnail
View Project

音ゲー 捌の修練

by yosiotouzyou2

Project thumbnail
View Project

so many beat ups

by CLAX1212

Project thumbnail
View Project

Beat up Hammer Mario 3: Add a button edition [1]

by ismiiboy

Project thumbnail
View Project

Tap the frog minigame

by sonicowey7

Project thumbnail
View Project

talking news marokids tvokids HD remix 2 remix remix

by Gregoryplayz2015

Project thumbnail
View Project

The Great War on the Western Front (World War 1 strategy game)

by hdggDalon

Project thumbnail
View Project

Beat Up BB-5 V9

by ChermayeffTesting

Project thumbnail
View Project

SSS: Zuni Engine V1.0

by coolguy1387

Project thumbnail
View Project

Zomb.io v2

by -Viper

Project thumbnail
View Project

Endless Reader Half remix

by ffffffffffijijijijij