summary refs log tree commit diff homepage
path: root/2019 (follow)
Commit message (Collapse)AuthorAge
* Solve day 10 part 2June McEnroe2020-11-22
| | | | | | | | I'm so fucking frustrated with this one. I was stuck for hours trying to sort the points by angle not realizing that (int)(angle(a) - angle(b)) would be 0 for all angles with differences smaller than 1. I also wanted to do the sort by atan2(-y, x) - π/2 intuitively to get "up" be zero, but I never got that to work.
* Solve day 10 part 1June McEnroe2020-11-22
|
* Solve day 8 part 2June McEnroe2020-11-22
|
* Solve day 8 part 1June McEnroe2020-11-22
|
* Solve day 7 part 2June McEnroe2020-11-22
| | | | | Yikes, I had gotten annoyed at this on day 7 because I didn't see what was wrong. Turns out I was just missing amp[0].in = 0.
* Solve day 7 part 1June McEnroe2020-11-22
|
* Solve day 6 part 2June McEnroe2020-11-22
|
* Solve day 6 part 1June McEnroe2020-11-22
|
* Solve day 5 part 2June McEnroe2020-11-22
|
* Solve day 5 part 1June McEnroe2020-11-22
|
* Add alternate shell solution for day 4June McEnroe2020-11-22
|
* Solve day 4 part 2June McEnroe2020-11-22
|
* Solve day 4 part 1June McEnroe2020-11-22
|
* Solve day 3 part 2June McEnroe2020-11-22
| | | | | | | Dang, I got screwed up by normalizing the lines in place rather than just for the intersection function. When it came to calculating the length of the final segment to the intersection, the "last" point was sometimes the wrong end.
* Solve day 3 part 1June McEnroe2020-11-22
|
* Solve day 2 part 2June McEnroe2020-11-22
|
* Solve day 2 part 1June McEnroe2020-11-22
|
* Solve day 1 part 2June McEnroe2020-11-22
|
* Solve day 1 part 1June McEnroe2020-11-22
ass='logheader'>2024-09-08Apply some bold to trips renderingJune McEnroe This seems easier to visually scan. The only other thing I'd like is a nicer date rendering but JavaScript is useless for that. 2024-09-08Render trips hopefully more efficientlyJune McEnroe 2024-09-08Allow removing bodies and lensesJune McEnroe 2024-09-08Limit body width so it looks less silly on desktopJune McEnroe 2024-09-07Handle no film being loadedJune McEnroe 2024-09-07Fancy up the text a littleJune McEnroe