Stargaze (ALMOST 3000 LINES!!!) (100 cycles project)
h
Baconman321

The month long project is here!

Almost three thousand lines of code, Stargaze is finally out! I know it's a little late for a 100 cycles project, but eh. I worked so hard, it's nicely made, compatible with different devices, and download as an app (it runs offline, and you can even control what you cache to some extent)! I ran this through google lighthouse and it got a good rating (50 for performance but that's because it takes up a bit of CPU power, 90ish for performance and best practices, and PWA certified)!
Note that this doesn't use canvas or any frameworks. It's solo made and uses the html page itself to create span elements for stars. You can also draw constellations now! Big thanks to my teacher for recommending the constellation drawing. I'm planning on adding some more features, so stay tuned. Read the whole description in the README file. Also, the main files are minified. If you want to try to fork it, there are unminified files that exist but are not used when serving the content.

Possible upcoming updates for this

Please note that these may or may not happen (sadly).

  • Planets with randomized planet names and descriptions
  • Filters (like sepia)
  • (Maybe) Point system, unlock different things

I know this may not get a lot of views, but please, if you like it, comment! If you don't, what can change?

PS: There's also a few space objects like the ISS, comets, and meteor showers. They pop up randomly so see if you can find some!

Hope ya like this! Bacon boi out!

Edit:

Thanks to all the people who upvoted. I am truly grateful. While this isn't on trending, it still is pretty popular! Glad to know people appreciate hard work :)

You are viewing a single comment. View All
KobeFF

WOW! This is sum cool stuff right here! have an updoot.

Baconman321

@KobeFF Wow, thanks! I am hoping this can get on trending, but i don't know. Either way, I am glad people like it.

KobeFF

@Baconman321 Yeah, me too! I've only gotton 3 projects on trending... If it hits trending tho you'll get tons of upvotes. 3 of my posts got on trending, and one of those got about 180 upvotes lol

Baconman321

@KobeFF Cool :>

KobeFF
Baconman321

@KobeFF I just like how I made it a PWA that works offline. I am a bit worried about the PHP file on account of it being a php file, but it caches the html, so it runs offline (i tested). Since there isn't any PHP code (the only reason I had it a PHP server is because of a feature called Stargaze To-Go where you can use stargaze in your own website), it works offline (hopefully). The hardest part was actually the space objects, as I remember it took 2-3 hours to debug them.

KobeFF

Wow!!! @Baconman321 This post deserves to be on trending... I spent 40 minutes on a project that I posted - it was the one that got 180 upvotes!! I literally spent less than an hour on it and it got on trending lol

Baconman321

@KobeFF Sometimes hard work goes unnoticed. I know, thanks for really believing that. Maybe if we keep talking it will ;> It's already the first hot post on the talk page (yay!).

KobeFF

@Baconman321 yeah! I'll share it with a couple of my coding friends.

Baconman321

@KobeFF Thank you! I am hoping to go beyond repl.it and actually get some real "users" here. I remember my brother asks me to just sit in front of my computer and look at the program running (XD). I hope people can actually use this and use it as a relaxation or break from the stress of life.

KobeFF

@Baconman321 lol yeah me too