Brent Dax (brentdax) wrote,
Brent Dax

  • Mood:
More or less finished the house thingy. (Although I'm thinking about switching the load-and-store mechanism to something using AJAX to keep it on the server.)

To use it, you'll need a room set; the one for the new house is posted here. Just paste the contents into the textarea and hit "load". You can add little blocks for various pieces of furniture, modifying their properties with the controls at the right and moving them within their rooms by drag-and-drop. The implementation is in index.html, roomarrange.js, and roomarrange.css; there are a bunch of JavaScript libraries I'm using as well, but I didn't write those.

I think my favorite part of this program is that it seems like there's not really any substance to it at all. I wrote fifty lines of HTML, eighty of CSS, about three hundred of JavaScript, and carefully designed a data format to get this right—but I can't really point to any one piece and call it the core, because the core is really Firefox bringing all the pieces together. It's an oddly satisfying way to write a program, perhaps because it leaves you feeling like you got much greater results than you should have been able to with that amount of effort.

Now, to bed.
Tags: geekiness, hacking, life, new house

  • Paging madlori (and anyone who knows her)

    An interesting thing just happened on Facebook chat. Lori Summers [2:29:44] Got my message ? Brent Royal-Gordon [2:33:45] I did. Lori Summers…

  • guest post

    kate is the best better than the rest the best the best haikus about kate: kate's my favourite i want to lick her ballsack it would taste so…

  • Practice

    This December, I will have been practicing programming seriously for ten years. That will mark the tenth anniversary of me starting to learn Perl. I…

  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.