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

  • Silly, clever hacks

    We're starting to think about how the furniture will be laid out in the new house. When we rearrange a room, we usually do it by sketching it out (to…

  • (no subject)

    I'm really enjoing the new Google Code Search. 3474: * src/: filterit.c, filterit.h, iwantu.c: I am drunk and coding like I am the greatest coder…

  • Thrown together...

    This should hit your favorite CPAN mirror tomorrow or the next day: The uploaded file Template-Plugin-Lingua-Conjunction-0.01.tar.gz has entered CPAN…

  • 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.