Monday, November 30, 2009

Coming soon: T-Shirts to be Envied

Writing after a break is always tough, I take the "slowly get back into the swing" method.

For the last few weeks I've been exchanging emails with an out of country graphic design firm. I had hired them to make the new BW Science Labs logo. It's been a frustrating last few weeks.

That's what I get for outsourcing, I guess. In the end I gave up trying to get the designer to do what I had asked, after about 5 or so attempts. I'm still happy with the final product, though I was shooting for something more like MIT's logo.

Once I get the high-res image sent to me I'll begin ordering T-Shirts, its about time we are able to wear our pride.

Thursday, November 26, 2009

Happy Thanksgiving from BW Science Labs

Ah, Thanksgiving, the time when families are thankful for one another and turkeys are wishing they had opposable thumbs to escape their cages. For those of you outside of the US, Thanksgiving is when Americans celebrate obesity each other and what we are thankful for.

Come to think of it I should have made a roboturkey or something to celebrate, maybe next year.

Sunday, November 22, 2009

New 3D Scanning Software and (a little) BWSL News

Global

A Cambridge student named Qui Pan has built a fantastic program that lets the user scan any desktop object with only a webcam. The computer generates a 3D model in real time, all you have to do is move the object in 360 degrees on your desk. This gets me really excited as this would be the perfect way to get 3D models into Unity games. Rather than paying $20 for a 3D model of a water bottle to use as a prop in a game, I could go out and buy a real bottle for $1, scan it, and import it into my game- no $1,000 laser scanner required.


[or watch this video here]

Micro

I've been able to spend a little more time this week coding my 3D game, but only for about 30 minutes, which is about 3 minutes in "coding time". I was able to spend about 3 hours this weekend working with an Arduino microcontroller, and hopefully I'll get on to more advanced Arduino projects later, but for now I only did enough to get the basics down.

It's been a pretty good week for the BW Science Labs Store, the Vivus the Robot kit has sold really well, and sales are going up with Christmas coming 'round the corner.

With only 2 days left in school until Thanksgiving break, teachers feel the need to give us loads of exams so we can earn our freedom through hours of grueling tests.

Friday, November 20, 2009

Playing Sound With the Arduino

One of the great things about going to an awesome school is the teachers, especially those who will let you borrow microprocessors.

I've been wondering for several months now if I should buy an Arduino, the relatively low cost microcontroller that has hobby engineers going wild (seriously, wild. You would not believe how much someone can love a computer chip until you've seen the die hard Arduino fans). Fortunately, my school's ASR (Applied Science Research) teacher let me borrow an Arduino for the weekend. I've only had a couple hours to tinker with it, but so far I've been very impressed by both the Atmega 328 (the chip) and the design of the board. I've had the chance to sift through some of the documentation on the Arduino site, and my favorite tutorial so far has been the Melody tutorial.

Setup was quick and easy, once you get the hang on which pins do what, and yielded a pretty annoying little song (but still pretty cool).

I've gotten a lot of feedback that there should be more videos on BW Science Labs, so here's one I shot of my borrowed Arduino playing "Marry Had a Little Lamb".


I only recorded this once, even though it plays in a loop. After about two or three times of playing "Marry Had a Little Lamb" you start to lose your mind.

And for those of you too lazy to click on the link above, here's the code I used to make this happen:

int speakerPin = 9;

int length = 15; // the number of notes
char notes[] = "ccggaagffeeddc "; // a space represents a rest
int beats[] = { 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 4 };
int tempo = 300;

void playTone(int tone, int duration) {
for (long i = 0; i < duration * 1000L; i += tone * 2) {
digitalWrite(speakerPin, HIGH);
delayMicroseconds(tone);
digitalWrite(speakerPin, LOW);
delayMicroseconds(tone);
}
}

void playNote(char note, int duration) {
char names[] = { 'c', 'd', 'e', 'f', 'g', 'a', 'b', 'C' };
int tones[] = { 1915, 1700, 1519, 1432, 1275, 1136, 1014, 956 };

// play the tone corresponding to the note name
for (int i = 0; i < 8; i++) {
if (names[i] == note) {
playTone(tones[i], duration);
}
}
}

void setup() {
pinMode(speakerPin, OUTPUT);
}

void loop() {
for (int i = 0; i < length; i++) {
if (notes[i] == ' ') {
delay(beats[i] * tempo); // rest
} else {
playNote(notes[i], beats[i] * tempo);
}

// pause between notes
delay(tempo / 2);
}
}

Thursday, November 19, 2009

Technology and its Effects on Young People

A little while ago, I was contacted by a book publisher who was interested in my work. He asked me to write a short essay on technology from the perspective of a 15 year old. The essay will be published in a book hopefully sometime this year.

Here's what I wrote:

"Technology is anything released after you are born." - I first heard something like this a few years ago. At the time the Apple computer was obese, PCs were in style, and kids spent their days playing dodge ball instead of Call of Duty 4. What is technology to my parents is nothing like what technology is to me. When my dad was a kid he and his friends immersed themselves in sports, arguing over who could throw a baseball faster. When I was in Kindergarten, we spent our recesses playing a Dr. Zeus adventure game, arguing over who could finish the maze faster while gaining the most points.
My first real experience with a computer was when I was in third grade. As usual, the teacher aid was freaking out over a non-obedient computer that locked her out. I can remember sitting in front of the monitor, staring up at the glowing screen while the aid was panting, taking a break from ripping the hair from her scalp and throwing an I-hate-technology tantrum. I slowly tapped out the word “admin”, key by key, in the password box. I confidently pushed enter, and the computer sprang to life. The teacher aid swayed back in fourth in shock, and stared down at me with a look of terror streaked across her face. Before that moment she knew me only as the loud, somewhat obnoxious yet innocent third grader who cowered in power shortages and wailed uncontrollably at knee scrapes. From that point on, in her eyes I was a malicious computer hacker, unbound by library pass codes and login prompts. I was unknown, and I was horrifying.
Six years later computers are small, sleek, and powerful. Instead of kids pretending to play Army with sticks, they chase each other with the iPhone Gun application. Html is a markup language taught to many along with their ABCs, in between snack time and recess. A couple years ago, I showed my 8 year old cousin some Python code I had written, and he nodded along as I explained if… else statements and for loops. Now, he’s building complete videogames with MIT’s Scratch program and knows more about computers than his parents ever will.
Technology has transformed the lives of every child in America. Each and every kid who owns a computer has access to literally everything they could ever want to know. Quantum Physics, English literature, World Economics, it’s all a click away and yet my generation’s thirst for knowledge seems to have been lost. This endless sea of information is littered with distractions and can snatch away what precious time we have. When I walk into a library, I’ve grown accustomed to seeing students on the computers playing “Buffy the Boy Scout Slayer” and “Zombie Wars.” If you ask the average American teen what his passion is, chances are he’ll shrug and say “videogames”.
Technology is neither good nor evil, it is just a tool. The key is how we use it and if we use it to better our lives or just to fill our time.

Monday, November 16, 2009

Control a Car With an iPhone

I've been following Waterloo Labs for a while now (they even commented on the lecture I gave on passion and science last year), and now it seems they're doing pretty darn well for themselves. They were recently on BBC radio and a variety of blogs (now this one). Their most recent project is a car that's controlled by an iPhone, which is probably the coolest youtube video of the year (yes, even better than the llama song).

Sunday, November 15, 2009

Unityers gone Wild and Screenshots for Upcoming Game

Global
Unity 3D game companies are starting to pop up all over the internet radar. Once Unity made their Indie 2.6 game engine free, people started going Unity crazy, including me.

Micro

Speaking of Unity, I've been working on my own little project, and here are a few photos of the in game artwork.




The 3D city I have is pretty darn big and it's exciting to finally be working on a fully 3D project. This game is just a way for me to learn 3D programming by doing. I admit it really is just another first person shooter, but once I get the coding down I'll be able to work on some more creative projects.

I'm slowing store product development for now as I'm setting aside money to get a new BW Science Labs site. Once that's finished I expect to develop an explosion of awesome new products.

I've been getting some feedback from people who have bought the Vivus the Robot Kit from the BW Science Labs Store and aside from a little constructive criticism, the feedback has been really good. It's nice to know that people all over the world (and I really do mean all over) are putting together the kit and its not exploding it their faces. When people are putting together a robot you never know what will happen, they skip one step and it becomes aware, building armies of itself and setting its advanced mind on world domination. Well, actually that would be kinda cool, but you get the idea.

Thursday, November 12, 2009

Has America Lost It's Creativity?

Masking mistakes can be terrifying, and Sir Ken Robinson says its destroying our young peoples' creativity.


[or watch this video here]

Robinson makes a lot of really good points, and it makes me wonder, is American education really extinguishing creativity?

I love school, its a place to learn from people who are smarter than you. However, it seems that all young people do at school is have information shoved into their minds. Even now at the best schools, there is less creativity and more facts, not because anyone really wants it to be this way, its just that we don't have much of a choice. To get that SAT score, that M.D. or PhD from that college, we go through a system that penalizes failure and has little value for creativity.

Now I wonder how we fix it...

Monday, November 9, 2009

Make Unique Unity Games (Not another zombie shooter!)

While searching for some sample Unity projects to look at, I came across Muse Games, a really small game company that uses Unity 3D, my new favorite tool, to create 3D games. While I'm hardly a gamer myself, I really enjoyed the unique gameplay though one of their Unity games, Guns of Icarus. This Unity project is really a refreshing piece, as there are absolutely no zombies. Seriously, a game with no zombies!


Where have I seen this before? Oh yeah, everywhere.

If you're interested in building a Unity 3D game, consider these questions:

1) What will the user get out of the game afterwards?

This is a rare question for coders to ask, as most projects involve the player mindlessly blasting wave after wave of zombies then looking up and realizing that its 8:00 PM on Sunday and they have exams on Monday. I plan of adding bits and pieces of fun info in future projects, even just using the word "microcontroller" is a robot game is a starting point.

2) Are there other games out their like yours?

Making something truly unique is the Indie developer's only chance to really compete with major game companies like Ubisoft.

3) Is there a component that actually makes the player think?

Think... What is this foreign word? Giving the player the chance to use their brain can really be a big plus to your game.

Sunday, November 8, 2009

Sunday Status: Cyber Warfare and Some Less Interesting Updates

Global

In some earlier posts several months ago I discussed cyber warfare, something that just made big headlines. In tonight's 60 minutes, some interesting news has arisen. Apparently, Brazil has been attacked multiple times by cyber terrorists, and specialists say that America is a risk.

I have a hard time going without power for 3 hours, imagine what would happen if the entire west or east coast lost power for lord knows how long at a time. Fortunately, Obama is allocating more funds for cyber security, I hope that that's enough.


Micro

I've spent the week looking for a good web developer to help me redo the BW Science Labs website, but I haven't found anyone yet. In the meantime I've made some progress on Unity development, and I'm now comfortable with the scripting language. As always though, most of my time goes to school, which reminds me of a t shirt I saw labeled "Homework kills trees, stop the madness!". It would be fun to see the carbon footprint of one year of homework. I'll have to look into that.

Thursday, November 5, 2009

Theoretical Thursday: Software- The end, or the beginning?

A couple years ago I met a college student who was creating an autonomous Unmanned Ariel Vehicle. The little plane would fly over a field and scan the ground using color sensors. Black lines drawn in the field told the plane not to fly past them, grey lines were landing strips, and so on. He told me not to waste my time with software, and that hardware was the future of innovation. He explained that soon our computers would have "hardware updates" instead of software updates where the computer would reconfigure a computer's transistors to better fit the needs of the computer. Soon, he claimed, this new hardware would be everywhere. That was three years ago.

I agree that there is a future for hardware, however we still have a long way to go coding-wise with what we've currently got. For instance, the UAV I mentioned above has some things that code needs to fix. When the plane is flying over a green field, wouldn't the sunlight reflect off of the grass and get picked up by the color sensor as a different color? I don't know of any color sensors that can correct this, though it is possible to fix through coding.

Another example, Artificial Intelligence. Let's face it, our AI coding needs work, making robots and software "smart" is one of the hardest things to do, because the coder has to teach the program to learn. There is far too much logic to code to be done in one fellow swoop (in fact, one such software company did try to code every piece of logic a child has, like water is wet, fire is hot, and so on. Many of their coders quit, one claimed that they were "working day and night to create a shadow of what we originally promised".). I won't be satisfied with our AI until we've got a working HAL 9000, complete with the drive to take us over.


AI is something I really want to work on, as there's still a lot of progress to make. I'm sure I'll be happy I chose to go into AI programming until the day I ask my computer:
Me: "Open the bay doors!"
Computer: "I'm afraid I can't do that, Brennon."

Wednesday, November 4, 2009

UV LED Flashlight Kit- Now Deployed

I finally managed to get the UV LED Flashlight kit up on the BW Science Labs Store website. I've already talked about this kit, so I won't overdo promotion. However, it really is nice to see more products being added to the Store.

Monday, November 2, 2009

Monday Status: Sparkfun vs. SPARC and New BW Science Labs Development

Yesterday I was rushed to say the least, so I didn't manage to get out a Sunday Status, however today I do have a Monday Status.

Global

I order my electronics components from all over, but one place in particular that I could not be without is Sparkfun. Also, having met some of the Sparkfun employees at the Maker Fair '09 its nice ordering from a small, friendly company with a face. Unfortunately, starting early this week, Sparkfun is being sued by SPARC International, a large company owned by Sun Microsystems that sells servers. Apparently, SPARC's legal department decided that Sparkfun sounded too much like SPARC, so legal warfare has begun. If Sun (SPARC) spent more of its time and money developing new technologies and less of it bullying smaller businesses, they would probably not be dying such a slow and painful death.

Micro

As I said its been a busy week. I've had a little time to look into Unity, but not much. So far so good.

blogger templates 3 columns | Make Money Online