Here it is, a collapsible menu in AS3. This experiments was compiled using the Adobe Flash 9 public alpha. As an extra, I decided to release a few other experiments that you can download here. I based the AS3 code on the collapsible...
Monday, January 29, 2007
Friday, January 26, 2007
Before I update the collapsible menu into AS3, I realised that I was dissatisfied with the animation's motion. The tweening was done using the well known method x -=(x-dx)/speed Although smooth I found it unreliable at times (try clicking...
Thursday, January 25, 2007
This post is based on the elastic menu v2 I had written a long time ago. I am redesigning my portfolio and needed a collapsible menu. So I rewrote the elastic menu script and changed all hotizontals to verticals. The goal of this exercice...
Tuesday, January 23, 2007
Got a sphere to rotate around in 3D sphere. The theorem of the bucky ball turned out to be too complex to implement. The miniml approach came from the wikipedia sphere definition. I implemented this equation by creating the following...
Monday, January 22, 2007
Got a cylinder to rotate around the 3D sphere. I am still searching for a simple equation for creating a sphere in 3D. I found this site that describes the theorem of the bucky ball. Great stuff, based on mathematics also known fullerene...
Friday, January 19, 2007
In this step for creating a sphere that rotates around a 3D spehere I decided to place my clips using two different functions. Now I know this can be done more abstractly, but I wanted to show that in order to place clips on 2 different axises...
Thursday, January 18, 2007
Creating a circle to rotate around a 3D spehere uses the same equations as the 3D XYZ post. What I am doing here is creationg a circle in 3D space by placing a conventional 2d circle on the 3D axis (a.k.a the circle y remains 0 whereas we increment...
Wednesday, January 17, 2007
since I decided to put a hold on the 3D cube experiments, the logical next step would be a 3D sphere. I went back to the xyz rotation post and worked on putting a sphere together. Some of the experiments were successfull and some came as a surprise....
Tuesday, January 16, 2007
I will put a halt on to the 3D cube experiments as I will need to investigate further into the design of solids with freeform surfaces theory for correct 3D shape modeling, rotation and z sorting. I updated the 3D cube v4 post to create an automatic...
Friday, January 12, 2007
Based on yesterdays 3D cube v3 post. I eliminated the 8 corner clip visuals and used the drawing API line.beginFill to fill the square. I am experiencing a small problem, though. The squares 6 sides are not aware of their Z position...
Thursday, January 11, 2007
Using the drawing API we connected the4 clips together to create a square inside the 3D cube v2 example. I added all other point connecteors in the connectDots array to connect all point in a cube.This specifies the order at which I want the drawing...
Wednesday, January 10, 2007
Using the drawing API you can easely connect the dots from the 3D cube v1 modelPoints array. I created a new array named connectDots in which I specify the order at which I want the drawing API to execute the lineTo (from which dot to which...
Tuesday, January 09, 2007
To get the cube to react to mouse movement, I added the following lines of code. In the 3D xyz rotation function (named renderRotate), I calculate the mouse x and y position relative to the stage (values range from 0 to 100) and then convert...
Monday, January 08, 2007
In my last post, I elaborated on the equations to rotate multiple clips in 3D space by adding 3D panning and zooming. Using those equations, I am now creating 3D models using an array I define as modelPoints in which I have all points positions...
Friday, January 05, 2007
In my last post, I showed the equations to rotate multiple clips in 3D space around a sphere. In this example I integrate the 3D camera equations based on the 3D pull & camera Zoom post. This enables us full control over our 3d world. //...
Thursday, January 04, 2007
This is not rocket physics, working off the 3D sphere rotation post, the final equation needed to rotate multiple clips in 3D space along the x y and z axis is found bellow. This comes form translating the a clips x,y,z properties...
Wednesday, January 03, 2007
Back from the holidays. First matter to take care of is the winner of the free 2006 reflektions.com | miniml source file collection. The question was "how many flash experiments were posted on reflektions | miniml in 2006" and the answer...
