Set up a google code svn repo for the time slicing code for anyone interested:
Got a new Cannon Powershot sx200is (was promptly CHDK’d) which can do some surprisingly good 720p video. So I thought I’d have a bash at running some footage through the timeslicing code I’ve written. Unfortunately the re-encoding with ffmpeg wasn’t so good so the quality is a bit out of whack, but here is is anyway with the wonderful BlackCloud1711 modelling for the footage:
Also here’s a couple of pictures of an old GCSE (I think) project. It’s a parallel port controlled pen drum plotter. Most of the mechanical hardware was built by my dad with a couple of design suggestions thrown in from me, all the electronics and software was done by me (before the days of fancy-pancy arduinos). It’s controlled through the parallel port with all the code written in QBasic on a IBM100 (100Mhz raaaawwww power, also the first computer that was mine, it was only about 10 years out of date).
One of these days I’ll get round to adding an arduino with a G-Code interpreter to it so I can get some delicious plotting action on the go.
Been spending the past few evenings playing around with and rewriting the time slicing code I wrote a while back. It now pushes and pops the camera frames into a fixed size buffer and allows you to set the rotation of the “slice” through the buffer. The effect this achieves is quite difficult to describe so here is a video to demonstrate it.
Here’s a brief description of each of the sections.
- Normal video recorded @ 640×480 with a cheap webcam in my front yard. Splitting the frames out using ffmpeg for processing greatly reduced the quality of the subsequent sections (probably need to play around with some switches).
- Time slice set at 45 degrees, effectively making columns of pixels to the right of the image be further back in time the columns on the left. The video appears to “grow” from the centre at the start of the section as the frame buffer fills up.
- The time slice slowly rotates about the centre axis, changing the view from one instance in time at 0 degrees to the “history” of the centre column of pixels at 180 degrees.
- Same as previous section but with the slice rotating faster. Note how objects at the edge appear to be sped up while objects towards the centre slow down, this is due to the rotation of the slice effectively speeding up the play back of columns of pixels at the edge of the frames.
Why am I wandering aimlessly through an overgrown yard? Well the idea was the movement of the plants would look cool, but the web-cam I used to capture the video was too shitty to pick up much detail. One of these day’s I’ll save up for a decent video camera.
Currently the slice is only rotatable in one axis, will hopefully change this in later versions to allow full 3D positioning, and will probably get round to releasing the code at some point aswell.
Not managed to get much more done on the CNC machine due to things beginning to go a little pear-shaped , but I’ve found my new favourite building material, Chopping boards.
Off to PlayEverything in Manchester this weekend, so I doubt much will get done till next week.
Decided to do some work on a project I haven’t touched in about a year. It’s a mini portable guitar amp, everything from the handle to the circuit is handmade.
The circuit is closely based around the example circuit in the LM386 datasheet. The volume control on the right also acts as an overdrive control when pushed past about half way (still need to find a decent knob/dial ). LM386’s have a pretty good sound when pushed into overdrive and are used in a bunch of commercial pocket amplifiers (probably most notably the smokey amp).
I’m probably going to rebuild the amp board at some point as it’s taken a bit of a beating being dragged between houses and there’s a couple of loose connections. Also may add a tone control if I can find some room on the faceplate. Will post a circuit diagram some point in the future.
Will probably have to get round to building a case for my deathtrap 50watt gainclone amp at some point soon.
Been doing a little more work on my CNC machine, got a fair bit of the X axis finished. The MDF parts were designed using QCad then roughly cut out with a fret saw, will give them a better finish at some point, but for now all the important dimensions and angles are accurate.
The connection between the stepper motor and the threaded rod will be made using heat shrink tubing once I’ve bought some.
There is a slight disparity between the end of the threaded rod and the stepper motors spindle. I think this is due to the way the stepper motor is mounted, as the guide rails and threaded rod seem good and parallel. Hopefully this shouldn’t be too problematic.
Also I’ve started work on the Y axis, which I should get mostly finished tomorrow.