https://github.com/KalbarczykDev/java-swing-ulam-spiral
The Ulam Spiral is a graphical representation of prime numbers in a spiral pattern. This program generates the Ulam Spiral and displays it using Java's Swing library.
https://github.com/KalbarczykDev/java-swing-ulam-spiral
beginer-friendly beginer-projects beginner java java-awt-swing java-swing turorial ulam-spiral ulam-spiral-generator youtube
Last synced: 4 months ago
JSON representation
The Ulam Spiral is a graphical representation of prime numbers in a spiral pattern. This program generates the Ulam Spiral and displays it using Java's Swing library.
- Host: GitHub
- URL: https://github.com/KalbarczykDev/java-swing-ulam-spiral
- Owner: OsLint
- Created: 2023-06-25T11:13:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-26T10:52:46.000Z (over 2 years ago)
- Last Synced: 2024-12-05T23:09:31.487Z (about 1 year ago)
- Topics: beginer-friendly, beginer-projects, beginner, java, java-awt-swing, java-swing, turorial, ulam-spiral, ulam-spiral-generator, youtube
- Language: Java
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ulam Spiral
Simple Java Program generating an Ulam Spiral, a visualization of prime numbers in a spiral pattern.
It uses Java Swing to create a graphical user interface (GUI) window for displaying the spiral.
It was made for GUI class at PJAIT
## Screenshot

## Prerequisites
- Java 21 or higher (LTS version recommended)
## Usage
### Cloning the Repository
``bash
git clone https://github.com/KalbarczykDev/java-swing-ulam-spiral.git
cd java-swing-ulam-spiral/src
``
### Building the Project
``bash
javac *.java
``
### Running the application
``bash
java Main
``
- Enter size of the spiral in prompt window.
- Wait for output.
## License
[MIT](https://choosealicense.com/licenses/mit/)