CS 285: SOLID MODELING, Fall 2011
Assignment #2
Introduction to SLIDE
This is a tutorial assignment that gives you a first exposure to SLIDE and to its interactive use.
This is what you should learn from this assignment:
- How to run SLIDE from your own computer.
- How to modify a working SLIDE file to fit your own needs.
- How to capture your result visually as a JPG or GIF file.
This project should be done individually by everyboy in the course.
I want to make sure that everybody gains access to SLIDE and knows how to run it.
Preliminaries
-
Copy the SLIDE program VennDiagGen.slf
to your own environment.
Run "slide VennDiagGen.slf" and hope to see a display on your screen.
To run this (and other programs) in your own environment, you may also
need some of these files in your directory: MATH.tcl, SLFCONSTS.tcl,
SLIDEUI.tcl...
- Manipulate the various sliders in the Venn Diagram Generator and study their effects.
-
Study the
SLIDE documentation on the web.
After reading some of the background information,
familiarize yourself with the
SLIDE Language Specification, in particular with the
"Geometry" statements.
-
Look at the source file VennDiagGen.slf
and try to understand how this relates to the display that you see on the screen.
The Actual Assignment
-
Now, your assignment is to
make a complete Venn diagram for FIVE variables (i.e. with five
overlapping geometrical regions) with complete 5-fold symmetry (in 2D).
[ PS: This is NOT possible for 4 variables -- Can you figure out why not ? ]
-
To accomplish the task in a pleasing manner, you may replace the equilateral triangle with:
an isoscelese triangle, with a rectangle, or with an ellipse.
- Introduce new SLIDE-parameters as needed, but keep them as low in number as possible.
-
When you have found a satisfying solution,
set the initial values for your slider variables so that your preferred solution displays
when you first start that SLIDE program.
This selected display must show all possible combinations of overlap between the five domains.
A good design would show any combination exactly once in one
connected region. It would also avoid having more than two
borders cross in a single point.
- Also, capture your design visually, using a screen saver (SnagIt or similar)
to make a JPG image of the display window.
-
Send me an e-mail with your modified slide file,
and with a JPG image of the intended display as an attachement (just in case)
before 10am Wednesday morning.
-
The Deadline is Wednesday, Sep. 14, 10:00am.
PS: A necessary condition for the existence of a symmetric n-Venn diagram is that n be a prime number.
PREVIOUS < - -
- - > CS 285 HOME < - -
- - > CORRESPONDING LECTURE < - -
- - > NEXT
Page Editor:
Carlo H. Séquin