]> git.scottworley.com Git - nt3d/log
nt3d
11 years agoDon't show a stale download link while running
Scott Worley [Wed, 19 Dec 2012 16:10:28 +0000 (08:10 -0800)]
Don't show a stale download link while running

11 years agoPass numeric parameters as numbers
Scott Worley [Wed, 19 Dec 2012 15:08:16 +0000 (07:08 -0800)]
Pass numeric parameters as numbers

11 years agoGeneralize rotate()
Scott Worley [Wed, 19 Dec 2012 14:38:26 +0000 (06:38 -0800)]
Generalize rotate()

1. Rename the old rotate() to rotate_about_origin().
2. Add a general rotate() that can rotate about any point.
3. Add box_by_rotation.html demo.

11 years agoRotate and translate operate on lists of points
Scott Worley [Wed, 19 Dec 2012 13:27:59 +0000 (05:27 -0800)]
Rotate and translate operate on lists of points

Also, change extrude's interface to take 3d points, just with the z
values at zero.

11 years agoExtrusion
Scott Worley [Wed, 19 Dec 2012 04:45:50 +0000 (20:45 -0800)]
Extrusion

11 years agoUse "this" instead of the global name
Scott Worley [Wed, 19 Dec 2012 00:12:02 +0000 (16:12 -0800)]
Use "this" instead of the global name

11 years agoAdd closed_trianglefan
Scott Worley [Tue, 18 Dec 2012 10:10:03 +0000 (02:10 -0800)]
Add closed_trianglefan

11 years agoClosed quadstrip: Munge the input, not the output
Scott Worley [Tue, 18 Dec 2012 10:07:49 +0000 (02:07 -0800)]
Closed quadstrip: Munge the input, not the output

This is cleaner.

11 years agoTriangle fans
Scott Worley [Tue, 18 Dec 2012 09:34:16 +0000 (01:34 -0800)]
Triangle fans

11 years agoQuadstrips
Scott Worley [Tue, 18 Dec 2012 09:14:42 +0000 (01:14 -0800)]
Quadstrips

11 years agoDo something useful on enter in a parameter field.
Scott Worley [Tue, 18 Dec 2012 06:23:27 +0000 (22:23 -0800)]
Do something useful on enter in a parameter field.

Enter in a parameter field now re-generates the model.  Previously, it
reloaded the page.

Note: The "go" button is still a button that calls go(), not a form
submit control.  This is for debugability.  Execution has to make it to
"return false" to prevent submission.  For form submits, if an error
happens anywhere, the form submits and uselessly reloads the page.

So the "go" button works differently (better) than enter in a parameter
field in case of errors.  This is not ideal, but is functional for now.

11 years agoA tiny bit of UI shiny: fade-in download link
Scott Worley [Tue, 18 Dec 2012 06:15:43 +0000 (22:15 -0800)]
A tiny bit of UI shiny: fade-in download link

This helps call attention to it after re-generating the model
with different parameters, letting you know that something changed.

11 years agoMinimal framework and one box demo.
Scott Worley [Tue, 18 Dec 2012 05:42:37 +0000 (21:42 -0800)]
Minimal framework and one box demo.