Skip to content

Instantly share code, notes, and snippets.

View theo-armour's full-sized avatar
💭
happy

Theo Armour theo-armour

💭
happy
View GitHub Profile
http://threejs.org/docs/58/#Reference/Extras.Geometries/CircleGeometry
CircleGeometry(radius, segments, thetaStart, thetaLength)
radius — Radius of the circle, default = 50.
segments — Number of segments (triangles), minimum = 3, default = 8.
thetaStart — Start angle for first segment, default = 0 (three o'clock position).
thetaLength — Circumference of the circle, default = 2*Pi (360°).
CubeGeometry(width, height, depth, widthSegments, heightSegments, depthSegments)
width — Width of the sides on the X axis.
@theo-armour
theo-armour / gist:4571359
Created January 19, 2013 08:16
show hide
<!doctype html>
<html>
<head>
<title>show hide</title>
<meta charset='UTF-8'>
<meta name="author" content="Theo Armour">
</head>
<body>
<script type='text/javascript'>
document.body.style.font = 'bold 12pt monospace';
@theo-armour
theo-armour / Thrweets
Created March 2, 2012 03:01
3D Tweets
<!doctype html>
<html lang="en">
<head>
<title>thrweets</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
</head>
<body>
<script src="../../js/Detector.js"></script>
<script src="../../js/Stats.js"></script>