nilclass / jumperlab

A UI for @Architeuthis-Flux's awesome Jumperless breadboard
Other
13 stars 4 forks source link

Make randomly selected net colors always be saturated and add new board image #4

Closed Architeuthis-Flux closed 10 months ago

Architeuthis-Flux commented 10 months ago

I added some code to make the net colors Jumperlab comes up with be saturated enough to be distinguishable from white or whatever. There was a ton of hand tuning variables that you can play with if you don't like the results.

It's still totally random, so it doesn't look at other nets to make sure it's not the same as the others, I can add that. But for now, this looks a bit better to me.

Here's what me laying down a bunch of nets looks like now.

Screenshot 2024-01-13 at 2 01 40 PM

I also added the new board image, it looks like you changed how the SVG layers are drawn to a much nicer format, I wasn't gonna try to mess with it, so I just added the SVG with the clickable areas as-is in /images

nilclass commented 10 months ago

I picked these commits over to main, github just doesn't realize it. So consider this merged!