9.12 Assignment5

Update 16.12.13: I’ve fetched all the Assignment5’s I could find.  If there was a problem with yours, I’ve sent you an e-mail.  Otherwise, I’ve created a picture gallery containing all the images so far received — there are 13 so we could make a lunar calendar with them!  As you see, about half are derived from the Assignment5 I distributed and the other half are original.  I’m pleased with the variety of the images. One small problem is that I don’t know how to label the images. If you’d like to have a label attached to your image — and I think that would be a good thing — please e-mail me the text for the label. Try describing it in 50 words or less.

I’ve described what I expect for Assignment5 in this blog post.  However if you are having trouble generating an image, I’ve checked in an Assignment5 class to the repository.  It’s an application which uses some symmetry groups of the 2-dimensional sphere to create Christmas ornaments.  You are free to adapt it to create an image for the Christmas calendar.  Just be sure that you find a way to customize the code to add new functionality, using the existing code to make an image is not acceptable.  I wasn’t able to document the code exhaustively but it should be possible to understand what’s going on well enough to modify it.

The application uses instance of the class TriangleGroup. There is a choice of 3 diferent plugins:

  1. Default: use default triangle in which the three vertices lie on the surface of the sphere.
  2. Perpendicular cut is more complex.  One chooses one of the 3 vertices and creates a new triangle lying in the tangent plane to the sphere at this vertex. To obtain the other vertices, the lines joining the original vertices to the origin are extended until they cut this tangent plane. Furthermore, for rotation groups, the original triangle is doubled to obtain a true fundamental domain.  Furthermore a piece of the boundary of this region is saved off into a field curve of type double[][].  This isn’t used directly by this class but subclasses (such as Twirly below) can use it to generate interesting geometry.
  3. Twirly builds on the polygon  P found above to create a surface by iteratively applying a matrix to a subset of the boundary of P.  The matrix is determined by 3 real parameters: a scale, a translate, and a rotation angle. The code shows the use of the class CurveCollector, which allows you to construct a surface swept out by a series of curves (each of the same number of vertices).
    1. For a related application showing the use of such an “iterated matrix” run the ElephantTrunk webstart, or create a run configuration in eclipse: run “charlesgunn.jreality.viewer.PluginSceneLoader” with the program argument “charlesgunn.jreality.worlds.ElephantTrunk”.

Images. The following images show first the default fundamental region.  The next three show the perpendicular cut with the 3 different choices of vertex.  Finally, there are some images showing the Twirly plugin at work.

You can also use template.Assignment5 as the basis for the actual Assignment5, to create an image for our Christmas calendar.  To use it for this you’ll need to write a plugin class that does more than what the template version provides. The possibilities are endless (IMHO).

You can see all the images as a single album at my Google+ photo site.assg5-deftri-transp-01assg5-perpCut-0-transp-01assg5-perpCut-1-transp-01assg5-perpCut-2-transp-01

The twirly plugin acting on the group 234 with perpendicular cut at vertex with order-4 rotation.

The twirly plugin acting on the group 234 with perpendicular cut at vertex with order-4 rotation.

 

A single copy of the Twirly surface for the group 234 (group of order 24).

A single copy of the Twirly surface for the group 234 (group of order 24).

The remaining images show results for the Twirly plugin, using a variety groups, and a variety of settings for the parameters for constructing the matrix.assg5-2013-twirly-235-negTr-v0-01

assg5-2013-01assg5-2013-02

An example of the group 3*2, the only point group containing a mirror which is not a mirror group.

An example of the group 3*2, the only point group containing a mirror which is not a mirror group.

assg5-2013-04

Group 235 flattened at order-2 rotation center

Group 235 flattened at order-2 rotation center

Group 235 flattened at order-5 rotation.

Group 235 flattened at order-5 rotation.

Group 234 flattened at order-2 rotation.

Group 234 flattened at order-2 rotation.

Group 234 flattened at the order-2 rotation

Group 234 flattened at the order-2 rotation

assg5-2013-twirly-235-negTr-v0-01

2 thoughts on “9.12 Assignment5

  1. Pingback: 3-5.12 Normal Subgroups and More | Mathematical Visualization

  2. Pingback: 10-12.12 Still more symmetry groups | Mathematical Visualization

Leave a Reply