10
Feb 09

Look ma, no flash!

So, as I promised, I made a copy of my new flickr image viewer I just made for my brother. It looks a ton better with lots of photos and tags. The tags line up in columns when there is enough of them. 

Private Flickr Image Viewer

After looking at it, you may think I got a little crazy with the animation, but I think it added a feeling of interactivity when you are waiting for the AJAX call to load. That and I wanted to try out some stuff I may be using on some new projects.

I have to say, I love Mootools, but I really wish there was a better was of chaining actions. Do this, then that, but only after the first one ends. You can do it easily with animations, but only with the same instance of a class, and only animations. What If I want to fade out, then remove/replace content in an HTML element, then fade back in. Maybe im missing something… but it looks like there is no simple way to do this.

And just because I said I would… Tellart <– Take that google reader!

10
Feb 09

Bildr, Sensors, Filters. Oh my!

While you may have thought I died of the flu and was never going coming back… You where wrong. Actually I have been quite well for a few weeks, I just didnt know what to write about. But I have been working on some stuff. 

Sonar Sensors are great. In theory that is. In the past they have been way too jumpy for my liking, and for anything I wanted to do. But I had a concept for my internship I wanted to test out, so I needed to clean it up. I created an array (think of it as a box), and every new reading from the sensor I I put in the box. When the box had x amount of readings in it, I would remove the oldest one, and place the newest one. Then I ran a loop that would average (WHY is there no average array function) the array, and used that for the reading. The result was silky smooth. I even managed to surprise my boss with how well it worked. So I created some games based on the idea. Sadly, I cant go into any more detail than that.

Well sadly, it didnt work as well for this jittery accelerometer(they all are) im using. For this You need to use something called a Kalman Filter. This filter is a normalizer for real world electronic noise. I found an example of someone doing exactly what I needed, but written in arduino code, where mine is in actionScprit. I think this is actually a really poor language to try to make one in, but im giving it a shot. The problem right now, is that I am using an analog sensor, and the example was for a digital one. So I need to figure out what range he was converting it to, and adjust mine to be the same. Ill let you know and post it when and if I find it.

RIP RISDpedia, long live Bildr (builder). Im killing off RISDpedia, and starting over with Bildr. I started RISDpedia 2 years ago, and actually learned everything I know about web tech/ programming because of it. So all the concepts are from when I was learning. I figure Im at least 10 times better with interactive code now than I was when I started it. So starting over, I wont have to fix things, just re do them (usually takes less time in my mind). Bildr wont have any information about fine art materials, but instead will be focusing on Design Materials, Design Electronics, and Design Code. So that’s that. Expect to see Bildr in the next few months.

Speaking of interactive code. I just finished the flickr/photo site for my brother. Really nice stuff. I wish I could show it to you, but it is password protected. Ill have to make a copy for you all to see.

26
Dec 08

API

My brother had a baby last april and he shortly moved out of the country, so getting images to all the family was obviously a top priority.

I have been thinking about how over documented our lives are going to be now. When she is 18, there will be tens of thousands of pictures from birth on up. Movies of every important time in her life etc. Organizing the images will be better too. Now, when I want to see images of my child hood, I have to look through drawers and albums to maybe find something. Now, you just launch an application and you can find the image in a few seconds. And with storage being so cheep now, no one every thinks twice before taking that 200nd picture of the same thing.

So back to my brother. He setup a photo gallery using gallery2 and sent a link to everyone. gallery2 may be powerful, but none of the elder family members can begin to use it. Honestly I had a problem with it as well. So I started thinking, can I do something about this? So now I had a reason to play with the flickr API. I put together a simple as can be photo gallery the other night suing the flickr API and PHPflickr (a php class for dealing with the flickr images). You can see the site here. This is just a test using my images, but it works with private images, so no one on flickr can see them, and you could just simply password protect the site to keep your privacy.

The site uses some nice javascript, and all the albums are requested using ajax. I figured, not moving the page eases the navigation for people. By not jumping to a new page when you view an image, you wont lose your place if you are viewing a lot of pics and had scrolled down. Same with the albums (if there where a lot of them it would scroll right/ left).

Anyways, there is a lot of stuff i want to try with this, I just need the time.


Copyright © 2013 ASM | a blog
Proudly powered by WordPress, Free WordPress Themes, and Search Marketing