Old School
Really old school programming stuff
There are 8 articles published in this category. Please try the search if you can't fint what you're looking for.
Kukk3D - Javascript 3D Engine
Thursday, April 30, 2009
I had so much fun playing around with canvas when I built the Pixastic Editor that I decided to port my really old 3D-engine, Kukk3D, to JS.

Click the image to view a demo
At the moment it's really basic even though it has support for faces (something that the old one never had) as well as lines and vectors.
You can add any type of object you like to the scene, move it around and re-render it. To animate you'd wanna do this X times per second, usually through a setTimeout.
A basic example:
<canvas id="kukk3d"></canvas>
<script type="text/javascript">
// Initiate the engine, pass in the canvas-ID and set width and height
Kukk3D.init('kukk3d', 640, 480);
// Create an object
// You can create any object you like or use one of the presets in objectSkeletons
var cube = Kukk3D.addObject(Kukk3D.objectSkeletons.cube());
// Now that the scene contains something, let's render it
// You can pass in a color-object as the only argument to render
// in order to fill the scene with a background-color
Kukk3D.render({r: 0, g: 0, b: 0, a: 1});
// To animate we simply move about the object and re-render
// the scene in a setInterval that runs every 50 ms
setInterval(function () {
cube.rotation.y += 2;
cube.rotation.z += 1;
Kukk3D.render();
}, 50); // 50 ms = 20 fps
</script>
What you reckon?
- Comments are off
- Filed under Development, Javascript, Old School
HTML compression - 90s style!
Tuesday, April 22, 2008
I just found this totally amazing HTML compression and encryption tool online.
Not only will the size of your code be reduced but no-one (including Google, screen-readers, most mobile devices, etc) will be able to read it as the software turns your entire markup into a document.write with loads of fancy, unreadable encryption.
Omfg.
Why it's in the top 5 organic results on a "html compression" Google-search is beyond me.
On a side note I found it kind of ironic that the official site of the HTML Tidy Firefox extension is a perfik example of how a validated website is no indication what-so-ever about the quality of the code.
- Comments are off
- Filed under Funny Stuff, Old School
Sture och Serre
Wednesday, March 21, 2007
Sture och Serre har varit offline alldeles för länge, så här kommer alla tre avsnitt för alla er die-hard-fans!
- Continued...
- Comments are off
- Filed under Funny Stuff, Old School
A Really Old School Design
Thursday, February 01, 2007
Just finished coding this really old-school design i initially made a couple of years ago.
It looks horibble, but it was a pretty good CSS excersise to get my current HTML to look like that through CSS.
I actually had to use some JS aswell to add a div for the bottom-left image in the content-area (home/archives etc).
I had the 2 year old source code zipped up and saved for reference, but the page wouldn't render properly in FF, which isn't strange when you consider the code; table based design, inline styles, attribute values without quotes etc.
I tried it in IE7 and there it rendered just fine. Too bad IE has better support for crappy code, than for modern standards.
Anyway, it's pure CSS now so check it out on the styles page or click here to apply it right away
Laters
- Comments are off
- Filed under CSS, Design, Old School, Web Work
Include Kukk
Monday, January 22, 2007
Kukk3D is my "so called" 3d-engine. I wanted to use it for something so it wouldn't just waste space, but i really had no motivation so i just quickly put this together. Music is by the famous FlyBoy4
Download here (761 KiB)
- Comments are off
- Filed under Old School
No Phantasy
Monday, January 22, 2007
I spent hours and hours on that fookin tornado!
Download here (131 KiB)
- Comments are off
- Filed under Old School
42 Kronor
Monday, January 22, 2007
This is a pitiful attempt to try and remake a mate of mines old intro "425 Kronor".
Download here (83.7 KiB)
Oh, he managed to find the original, so here it is: The original 425 kr by Tazadum
You need to check it out because it's fookin wikid!
- Comments are off
- Filed under Old School
6 Hours
Monday, January 22, 2007
I made this intro/demo in 6 hours. Hence the name.
Download here (597 KiB)
- Comments are off
- Filed under Old School









