vonbeardy / hd2galaxy-issues

For any issues, requests, suggestions, etc for hd2galaxy.com
4 stars 0 forks source link

Create SVG elements for all sectors #2

Closed vonbeardy closed 5 months ago

vonbeardy commented 5 months ago

This will replace the background image so all sectors are essentially individual programmable SVG images that can be controlled with code

josh-allison commented 5 months ago

@vonbeardy IDK if you have already made the SVGs or not. If you haven't, enjoy:

Sectors

**Edit**

It looks like a single SVG, but upon inspection, you can see each path is named with the name of the associated sector. The SVG was based on the 4k x 4k resolution of your galaxy map image. I also have a version of this with the minimum amount of anchors, if that makes more sense to use. Let me know if there's any formatting you need done, or if you want the SVGs to be saved in a form that is editable in illustrator, etc. Just let me know if there's anything I can do to help with the map. I have experience in Digital Art, Web Dev, and I love cartography.

josh-allison commented 5 months ago

Here's the updated version with only the minimum required anchors. It also has the styling started so it'll be easy for you to select by id, and add/remove classes, or edit the styling as you see fit. SectorsMinAnchors

vonbeardy commented 5 months ago

This looks great. I have started on an SVG version that has independent SVGs so I can have full control of each sector. I'll take a look at what you have come up with here and see if this might fit some of my needs.

vonbeardy commented 5 months ago

@josh-allison Dude! You are a life saver and this is what I was starting to work on today. If you don't mind, do I have your permission to use this on the site?

josh-allison commented 5 months ago

@vonbeardy That's what it's for :) If you need images or if I can lend a hand with programming, lmk. I have experience with both.

vonbeardy commented 5 months ago

@josh-allison really appreciate this! It will save me a load of time. I will work on integrating this over the next few days.

vonbeardy commented 5 months ago

@josh-allison, again thanks for your awesome work. This has been integrated with the site and will now show the highlighted sectors accordingly.