Skip to content

OjasSinh/StarField

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarField

A lightweight starfield animation built using p5.js.
This project was inspired by The Coding Train and their creative coding challenges.
It recreates the classic flying-through-space effect using simple JavaScript and drawing logic.

Preview

A visual demonstration of the starfield effect is included in the assets/images/ folder.

Features

  • Dynamic starfield animation
  • Depth-based motion for a 3D feel
  • Smooth rendering using the p5.js drawing loop
  • Clean and modular project structure

Folder Structure

Starfield/ │── index.html │── README.md │── .gitignore │ ├── assets/ │ └── images/ │ └── screenshot.png │ ├── src/ │ ├── star.js │ └── sketch.js │ └── libs/ └── p5.min.js

How to Run

  1. Clone or download the repository.
  2. Open index.html in any modern web browser.
  3. Enjoy the animation.

Technologies Used

  • HTML5 for structure
  • p5.js for graphics and animation
  • JavaScript for logic

Inspiration

This project is inspired by The Coding Train, whose videos make creative coding fun and accessible.

License

This project is free to use, do whatever you want

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors