On June 5th, 2008 milburn wrote…

The Anaglyph Creator

Having detailed how to create a script using the GD image library to create anaglyphs, I decided to create a webpage for those people not lucky enough to have their own web hosting. The page is very simple and it works similarly to the previous script.

Any online tool is vulnerable to abuse but their are a number of precautions I needed to take. Firstly I needed to make the script secure. I don’t want people hacking my site through a little script I wrote just because I couldn’t be bothered to make it secure. On the contrary to what most people think, making file uploads safe isn’t too difficult. Firstly I make sure tat the user has uploaded to files and no upload errors occurred using the following if statement.

Read the rest of this entry »

On June 3rd, 2008 milburn wrote…

Creating Anaglyphs with PHP

I created some stereographic pairs yesterday and used some online software to create an anaglyph for viewers with red and cyan glasses. Creating anaglyphs is in fact a really easy task. All that has to be done is to separate the red layer from the left image and the green and blue layers from the right image. Finally the three layers are combined to create a colour anaglyph. Simple.

Having a little experience with PHP, I decided to create a simple script to create anaglyphs. First I needed to plan out how the script was going to work. The GD library has no native image filters except in PHP5. My plan works like so.

Read the rest of this entry »

On June 2nd, 2008 milburn wrote…

Phoenix Stereo Photos

Phoenix landed on Mars on the 25th of May. I was quite interested in the landing as I am part of a local astronomy group. I was also very excited when I saw some of the photos which came back from the probe.

Read the rest of this entry »

On May 28th, 2008 milburn wrote…

Drop Caps Plugin

Last time, I was showing you how to create the cool drop caps on my blog. The only problem was that I was having to write extra mark-up into each post to generate the drop caps.

Extra mark-up is bad. It’s bad because if I wanted to change blogging platforms or even change theme I would have to go through every post and page and remove the HTML mark-up. Not really too difficult with only 4 posts to date but if I have a hundred or so posts in the future, it becomes a real pain. Read the rest of this entry »

On May 26th, 2008 milburn wrote…

Drop Caps with Drop Shadows

It’s one of the most striking features of my blog, the crazy drop capitals with drop shadows. Not only that but I’ve come up with away to achieve this in all good browsers (unfortunately that doesn’t include IE) using only CSS and HTML. Let’s start with the markup.

Read the rest of this entry »

Proudly powered by WordPress with plane theme by me! | © 2007 - 2012 Thomas Milburn | Valid CSS and HTML