The Pulfrich Effect is an optical phenomenon where objects (or images) moving in a single plane can appear to be in 3D when the light reaching one eye is dimmed, e.g. with a filter. It also has a curious history – Carl Pulfrich (biography – pdf), who discovered the phenomenon, was blind in one eye and never observed it for himself, but nonetheless made many contributions to stereoscopy (the study of 3D vision) in both theory and the construction of apparatus.
Unlike other forms of stereoscopy, this only works with moving objects or animations; it does not work with still images! But what’s really cool is that you don’t need any special equipment to view it, beyond a piece of darkened glass or plastic to act as a filter. Videos exhibiting the Pulfrich effect can be viewed on a normal monitor or TV screen.
In my day job I work with metagenomes from animals and protists that have bacterial symbionts, and I’ve blogged here before about why visualizations are so useful to metagenomics (mostly to flog my own R package). However most existing tools, including my own, require that you install additional software and all the libraries that come with them, and also be familiar with the command line. That’s pretty standard these days for anyone who wants to do serious work with such data, but it can be a big hurdle for teaching. Time in the classroom is limited, and ideally we want to spend more time teaching biology than debugging package installation in R.
My website seaheuchin.info is a labor of love for me – it is a work of family history and biography that I researched and started to write up in 2007, but only some months ago did I publish it online as a website.
Web-publishing is the poor(er) man’s self-publishing, but it does offer some advantages over paper. I can easily update the site with new features, such as photographs and transcriptions of original documents, and also incorporate interactive features like maps and timelines. It’s perfect for a serial procrastinator like me, because I can make something that is mostly done but not yet perfect available as a working version. For example, I’m still working on text boxes to explain the historical background for something mentioned in the main text of the biography – many of them are already up, but for some I have only an outline of what I would like to write.
In this blog post I’ll explain what free tools (“free” in the sense of not paying money for it, not the “free” in Free Software Foundation) I’ve used to build and host the website. I want to show how a hobbyist with modest web skills, like me, can still get things online quickly and painlessly.
When I was a kid back in the late 90s and early 00s I spent a LOT of time on these computer games: SimCity 2000, TetraBlocks (a Tetris clone), and C-Dogs.
C-Dogs was something special – a freeware MS-DOS-based game where blocky cartoon figures ran around a 2D map shooting things up. That sounds pretty primitive, but there were some great things about it: the graphics/artwork were awesome classics of the pixel-art genre, you could customize your characters and build custom maps, and the EXPLOSIONS. The best way to combine all that was great about this game was to build a custom map with lots of barrels of explosives lying around, throw in some grenades, and watch the whole map blow up. Very satisfying.
Exploding fuel barrel
Update 17 Nov 2016: I’ve now migrated seaheuchin.info to a GitHub-hosted repository. More details on how I set it up in my next post!
It was fun while it lasted. My project website seaheuchin.info was doing something odd when I visited it last week to look something up: instead of rendering the index.html page like it did before, the browser started to download it.
Turns out that Dropbox has stopped supporting this feature. My site is/was simply a shared public link in my Dropbox Public folder, to which I pointed a custom domain name. Previously it was possible to host small websites this way, and they would serve up the HTML properly rendered. However this was ended for Basic accounts last month, and will also end for Pro accounts next year.
So what next? I was planning on migrating to Github Pages anyway, because I wanted to have better tracking of versions and edits. That is planned for my next free weekend, so watch this space! If for any reason you urgently want to read about Seah Eu Chin, just drop me a message by leaving a comment here or emailing me.
Instead of working I’m procrastinating by fixing bugs in my software. The new version of gbtools includes two new features that improve the plotting of taxonomic markers, and some fixes to long-standing bugs. You can now adjust how many taxa are colored and included in the plot legend (thereby avoiding cluttered plots with too many colors to interpret), and also highlight individual taxa.
Wondering what gbtools is? Read my previous blog post, or the paper published last December.
Stereoscopy (3D vision) is fun, and maps are also fun. Therefore, stereoscopy + maps = even more awesome!
Remember Magic Eye 3D? As a kid I didn’t “get it” for a very long time, and it was frustrating to look at those crazy dots without seeing anything. But the moment your eyes click into the right place is immensely satisfying. Magic Eye is an example of autostereograms. The Wikipedia page gives a very detailed and understandable explanation of how they work and how to make them, so I won’t go over that here.
Briefly, when you view the rows of repeated images cross-eyed or wall-eyed, you are overlapping the adjacent images. The difference in the repeat period between rows gives the effect of depth. What if the adjacent images themselves were also stereoscopic? Then you would see an array of 3D images popping in and out! A 3D effect on top of a 3D effect. And what’s more – with globes. Continue reading