Today I banged out the rest of the screens for my 7DRL entry. The major new geometry that I added was the ellipse. This is an elongated circle. Since the shape is drawn in character blocks, the sides are not smooth. But it is good enough for a roguelike. Having gained the power to draw an ellipse, I drew two ellipses on one screen and called it my Mobius strip.
This kind of looks like a figure eight turned on its side. Or it looks like the infinity sign. I actually read up on some newsgroup posts to see how people draw a circle. Turns out you use the x squared plus y squared is less than the radius squared equation. And here I thought I was going to have to dig into the sin() and cos() functions. That would have worked to. But why add trignometric complexity when a simpler technique exists?
Reproducing a Race Condition
-
We have a job at work that runs every Wednesday night. All of a sudden, it
aborted the last 2 weeks. This caused some critical data to be late. The
main ...
2 years ago
No comments:
Post a Comment