I finished the 10th Anniversary Audio Book version of American Gods last night (staying up way too late again). It was a fantastic read and I feel a little in awe of (and inspired by) just how wonderfully Gaiman writes a story. I enjoyed every single moment of it, I loved the characters, and the world, and most of all I loved how the characters, and the world harmonized with the story.
I also find it really weird (but interesting and cool) how similar Gaiman and Stephen King's stories feel.
Sunday, October 22, 2017
Thursday, October 12, 2017
Project 15: 12 Books in 21 Weeks: Update 10
I've probably started reading Mouse Guard a half dozen times. This time, I finally actually finished the first volume. I enjoyed it and I'm curious now what goes into the following volumes.
Saturday, October 07, 2017
Project 15: 12 Books in 21 Weeks: Update 9
At Christmas last year, I kinda forced my loved ones to all exchange books. Which I think mostly worked out for the good. I especially enjoyed getting A View From the Cheap Seats (the hardcover is beautiful). Neil's writing is engaging and warm and funny and the only problem with the book its it contains a lot of introductions to other books, so now my reading list is longer than when I started.
I also made it to 12 books in 12 Weeks. Mostly Audiobooks, but I'm quite happy. I'm going to keep going and see how many books I can read in the remainder of the year.
I also made it to 12 books in 12 Weeks. Mostly Audiobooks, but I'm quite happy. I'm going to keep going and see how many books I can read in the remainder of the year.
Friday, October 06, 2017
Project 16: Covert Action in Space: Update 2
I've been working on my Covert Action in Space project and reached the point where I wanted to be able to see a graph of the spaces I'm generating. Particularly, when I was working on my first system, it was difficult to get a feeling for how the spaces work (or if they worked). At first I had been thinking that I’d look and find a simple algorithm to draw a graph and then implement that in something simple like Processing. Fortunately, poor google-fu prevented me from finding a good algorithm and instead I found GraphViz.
I'm not sure I want to work here, but I'd look for their industrial secrets. |
Despite that tweet, I managed to keep my wits about me and realize that I don’t need to create my own graphing system, I just want to see a graph of the space layout. So instead of spending time learning a graphing algorithm and dealing with all of the problems that’s likely to create, now I just need to output a simple text file and let the magic happen.
GraphViz is great. It’s capable of doing a lot of stuff of which I only need it to do a little bit. To output, I need to make a list of all room connections and put it in GraphViz’s dot format. Internally I’m keeping this information in a map so that each entry has all of the rooms that a room connects to. This produces duplicates in the list, but using the strict keyword GraphViz automatically ignores those.
The code to generate the dot file works out to be quite simple. |
And the dot file for the graph up top. Again I'm not particularly stressing GraphViz. |
As I said, this makes it really easy to look at how spaces are connected and how those spaces work. I’m really glad I was able to get this working without needing to spend too much time on it.
The next job from here is to start laying out an actual floor plan based on the given space. I have a rough plan, basically starting with a default shape for each room and then expanding them to fit together. I can probably come up with something more complex, but as with the space generation, I’d like to start simple.
Subscribe to:
Posts (Atom)
The Silence of the Refrigerator
One of my first memories in our house, about 7 years ago now, is sitting at the dinning room table and thinking the fridge was about to expl...
-
A quick note, I've updated this project ! I don't usually go for having a lot of stuff on your desk, but my recent success makin...
-
This volume of my favorite YouTube videos is a bit of a testament to the cool things people can make. So have I mentioned that George Wa...
-
The Chrono Trigger Sprites are another project I stalled on. One of the big concerns I ran into was figuring out what colours of perl...