Saturday, July 12, 2014

Arduino Projects!

Here are some of my experiments already published at www.youtube.com/zymotico:

Kalman filtering of a temperature sensor with an Arduino UNO. This is a simple first-order example.



First test of the Adafruit 10-dof IMU board with an Arduino UNO. Accelerometer, Gyro, and Magnetometer data is being processed through Madgwick's orientation filter. Data graphic displayed through a Processing sketch.



Adafruit 10-dof IMU sensor calibration procedure using FreeIMU GUI's routines.

Switching gears

Switching this blog's topic from HTML5 programming to Arduino microcontroller experimentation.

Wednesday, April 25, 2012

Scrolling Tile Engine

Ok, here's the real test. Let's see if the current build of my tile engine works.

Your browser does not support the HTML5 canvas.


***Click Canvas box above to start game***

Controls: Arrow Keys

- fps

Event Messages:


And it works!!! My tribute to 8-bit gaming is off to a good start. Next up player collision and sprite animations. Update: Chrome web browser does not implement crisp pixel drawing (pixel interpolation is always on). Firefox will draw the game as I intended.

New sprite maps

Here are the new bitmaps. The level sprites:



The metadata sprites:

What's different this time, is the pixel padding between sprites have been removed. I removed them to save pixel space. They existed before to prevent edge bleeding when the sprites are interpolated. I do not plan to use any image interpolation.

Tuesday, April 10, 2012

Let's Draw a Tile


Tile sheet

Tile sheet for canvas experiments.

Thursday, April 5, 2012

First post

First!

Now to test out HTML5 canvas:


It works!