skip to main
|
skip to sidebar
Feed
Last Posts
Last Comments
Info
My Facebook
My Twitter
2nd Blog
Facebook
Ymail
Gmail
Login
Pengikut
Technology Computers
All
Study
Category 2
Archives
Cek Bobot Web Anda
Your domain(s):
Enter each address on a new line (Maximum 10)
(eg.
www.kutipanweb.blogspot.com
)
<p><br /> </p>
Cek ping web anda
Enter domain(s) to PING:
Enter each address on a new line (Maximum 10)
<p><br /> </p>
Read More...
Recent Posts...
// This simple 3D engine was provided by www.Html5CanvasTutorials.com // for the purpose of creating 3D HTML5 renderings function Plane(centerX,centerY, planeLength, planeWidth, planeTilt, planeTheta) { this.centerX = centerX; this.centerY = centerY; this.planeLength = planeLength; this.planeTheta = planeTheta; var lastPerspectiveX = null; var lastPerspectiveX2 = null; var planeNextCornerAngle = 2*Math.asin(planeWidth/planeLength); this.rotate = function(newTheta) { planeTheta = newTheta - planeNextCornerAngle/2; } this.translate = function(newCenterX, newCenterY) { centerX = newCenterX; centerY = newCenterY; } this.generate = function() { var ovalLength = planeLength; var ovalWidth = ovalLength * planeTilt; var perspectiveX = (ovalLength / 2) * Math.cos(planeTheta); var perspectiveY = (ovalWidth / 2) * Math.sin(planeTheta); var perspectiveX2 = (ovalLength / 2) * Math.cos(planeTheta + planeNextCornerAngle); var perspectiveY2 = (ovalWidth / 2) * Math.sin(planeTheta + planeNextCornerAngle); this.topLeftX = (perspectiveX *1) + centerX; this.topLeftY = (perspectiveY * -1) + centerY; this.bottomRightX = (perspectiveX*-1) + centerX; this.bottomRightY = (perspectiveY*1) + centerY this.topRightX = (perspectiveX2 *1) + centerX; this.topRightY = (perspectiveY2 *-1) + centerY; this.bottomLeftX = (perspectiveX2 *-1) + centerX; this.bottomLeftY = (perspectiveY2 *1) + centerY; } }
Entri Populer
Arsip Blog
▼
2010
(2)
►
Desember
(1)
▼
November
(1)
Cek Bobot Web Anda Your domain(s): Enter...