]>
git.scottworley.com Git - nt3d/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Scott Worley [Sat, 29 Dec 2012 07:30:24 +0000 (23:30 -0800)]
Move per-point translate() into a separate function
Scott Worley [Fri, 28 Dec 2012 08:01:50 +0000 (00:01 -0800)]
The thing the Rostock was printing in Make Magazine
TODO: Make the base flat.
Scott Worley [Tue, 25 Dec 2012 05:44:08 +0000 (21:44 -0800)]
A helper function for generating pathnormals
Scott Worley [Tue, 25 Dec 2012 04:53:07 +0000 (20:53 -0800)]
Fix a bug in project()
It was kind of sheer luck that any extrudes worked before this fix.
Also, add rotation to torus_by_extrude, which was an easy way to
reproduce this.
Scott Worley [Mon, 24 Dec 2012 07:59:34 +0000 (23:59 -0800)]
Use "this" instead of the global name
Scott Worley [Fri, 21 Dec 2012 15:12:59 +0000 (07:12 -0800)]
Helper functions for shapenormals
Scott Worley [Fri, 21 Dec 2012 06:29:48 +0000 (22:29 -0800)]
Make extrude's arguments more flexible and powerful
Scott Worley [Fri, 21 Dec 2012 05:40:57 +0000 (21:40 -0800)]
Flip the order of shape,path in extrude args
Scott Worley [Thu, 20 Dec 2012 09:18:52 +0000 (01:18 -0800)]
Cones.
(Cones are the first primitive solid because 3-sided cones are basically
cheap arrows that can be littered all over the place for debugging.)
Scott Worley [Thu, 20 Dec 2012 09:11:52 +0000 (01:11 -0800)]
Torus by extrude demo
Scott Worley [Thu, 20 Dec 2012 09:09:02 +0000 (01:09 -0800)]
Factor out rotate_onto()
Scott Worley [Thu, 20 Dec 2012 08:30:35 +0000 (00:30 -0800)]
Find the parameters of rot2 *after* taking rot1
Scott Worley [Wed, 19 Dec 2012 16:10:28 +0000 (08:10 -0800)]
Don't show a stale download link while running
Scott Worley [Wed, 19 Dec 2012 15:08:16 +0000 (07:08 -0800)]
Pass numeric parameters as numbers
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.
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.
Scott Worley [Wed, 19 Dec 2012 04:45:50 +0000 (20:45 -0800)]
Extrusion
Scott Worley [Wed, 19 Dec 2012 00:12:02 +0000 (16:12 -0800)]
Use "this" instead of the global name
Scott Worley [Tue, 18 Dec 2012 10:10:03 +0000 (02:10 -0800)]
Add closed_trianglefan
Scott Worley [Tue, 18 Dec 2012 10:07:49 +0000 (02:07 -0800)]
Closed quadstrip: Munge the input, not the output
This is cleaner.
Scott Worley [Tue, 18 Dec 2012 09:34:16 +0000 (01:34 -0800)]
Triangle fans
Scott Worley [Tue, 18 Dec 2012 09:14:42 +0000 (01:14 -0800)]
Quadstrips
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.
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.
Scott Worley [Tue, 18 Dec 2012 05:42:37 +0000 (21:42 -0800)]
Minimal framework and one box demo.