admin's blog

Major site upgrade

I have updated the site to Drupal 7.4 up from Drupal 6.14. During the update I have deleted the custom modules to make the upgrade process smoother and get rid of all the bloat for a fresh start. As a result, the site looks a bit different but all the content is still there, and loads faster. :) It is bare bones right now but in time I will customize the theme and add some modules that I wanted to keep back into the site. Having the site on Drupal 7 will also make it easier for me to maintain. Oh and user registrations are now re-enabled.

User Account Registrations Temporarily Disabled

Due to annoying bots I have disabled new user account registrations. When I get the time to update the site and install some other additional anti-bot mechanism I will re-enable account registrations. I just don’t have the time while in school to keep deleting spam and the associated user accounts.

LSystem added to AuxLib

I always wanted to make an LSystem to create interesting fractals.

Very impressive HTML5 + WebGL Demo

Here is a demo by the Mozilla #audio hacking team that uses an impressive array of new web standards to create an interesting and immersive audio visual experience. I am using Firefox 4.0 beta 8 for viewing.

http://videos-cdn.mozilla.net/serv/mozhacks/flight-of-the-navigator/

Particle Fire Demo

Here is a particle fire demo I made with canvas by drawing random dots with random color at the bottom of the screen and using drawImage to draw a scan line from the one below with decreasing alpha over the image. There are also some random dots thrown in thought the image for an extra touch of detail. The image is then post processed by moving the scan lines left and right along a sine curve again via drawImage(). The final image is then drawn 4 times larger for display.

 

Particle Fire Demo

HTML5 Canvas Enhancement in DHTML-STUDIO

I love messing around with canvas but I get tired of looking up that one function I forgot how to use. As a result I came up with the idea to add suggest / auto complete functionality for a canvas context in DHTML-STUDIO (on the Apps page of this site).  Now I can rapidly prototype various canvas demos and look up the different drawing functions without leaving the page!

Dropping old domain

To save money I am dropping the old SlickJS.org domain for this site when it expires on February 12 2011.

If you have any links through that domain please change them to CloudDev.org

Additionally, CloudDev.org and SlickJS.org are currentaly down temporarily as the primary domain is switched (should have posted this earlier lol). For now this site can always be reached via the CDev.org shorthand.

Minesweeper Strategy

Here is a Minesweeper strategy I did for a project at school. Though it is not a JavaScript demo or tutorial it could be thought of as an algorithm for winning most of the time. Enjoy!

 

A Strategy for Winning Minesweeper on a Challenging Mode

Texture Mapped Triangle Demo and T3D 3d JavaScript Update

Back when I had the time and motivation to write some 3D JavaScript code I was faced with the problem of mapping a texture on to a triangle. As usual I created a small demo awhile ago which does just that. The idea is that you set the basis vectors in a matrix (which represent the direction of the x and y axis) to edge vectors created from the points on the triangle. P1-P0 becomes the new X and P2-P1 becomes the new Y.

Point in polygon test

With my fascination in computer graphics related programming I came across an algorithm on Wikipedia to test if a point in inside a polygon. Why would this interest me? Well one reason is that it allows making non-traditionally shaped UI controls. I know there already is an “isPointInPath” function in canvas but I like details Wink.

Pages

Subscribe to RSS - admin's blog