Wiki Menu


Home
Pix
Get Hoversnap
Use Hoversnap
Survey
Puzzles
Doodles
3 Ladies
3 Prisoners
CSG
AlphaSets
Subsets
Match Sets
Pizza Test
Truth Tables
Conditionals
16 Tables
Validity
Arguments
Pipe Game
Water Logic
Adder
Carry In
Carry Out
8-Car Adder
Number Bases
ASCII
Codes
RSA
Sequences
Staircase
Counting
ScrabbleGrams
Anagrams
Dupligrams
Amalgams
Powerball
Birthdays
Dice Rolls
BlackJack
Coin Flip
Triangle Tree

CSG



CONSTRUCTIVE SOLID GEOMETRY

 


WHAT IS A SET?


A SET is an unordered collection of unduplicated things. These things may be letters, numbers, or anything else we care to collect. The Pixar characters above are a set of characters each created on a computer. But each character is also a set constructed from geometric solids. These solids have names such as cone, cylinder, sphere, pyramid, prism, box, egg, and donut. Computer programs stretch and shrink them like rubber, glue them together, and even use them like a sculptor uses a chisel.

 


 

 




SET OPERATIONS
+ – &


Each character is modeled using 3 operations:

+ adds two or more solids together
subtracts the shape of one solid from another solid
& overlaps sections of two or more solids

If you have ever played with a Mr. Potato Head, you know how these operations work.
Behold! Hasbro's Darth Tater with parts!



Perhaps you would like to make your own Mr. Potato Head Þ

However, you will earn no points for him...
 

ASSIGNMENT: 3D DOODLE

In this assignment, you will draw, save, and post 3-dimensional doodle(s) in a CSG applet. For this assignment, and future assignments, you will need the Java VM Plug-In from java.com to download applets. The Java VM Plug-In, also called Java Runtime Environment (JRE), takes less than 5 minutes to download and install via fast internet access, and less than one hour via 56K access. You may, however, already have the JRE installed. So don't do it if you can see Indira's CSG Applet.

Indira's CSG applet is similar to software the Pixar folks use when they design their characters, but much simpler. (Some of you may be familiar with similar software—such as AutoCad.) Still, it takes a while to become familiar with the CSG tools. To keep this assignment fun, all you need do is combine a set of objects using each of the 3 operations at least once. You have a set of 4 objects to begin with: a sphere, a cube, a cylinder, a cone, but you do not need to use all of them. Double click to place each one on the black canvas. If nothing happens, hit the Clear All button. The next trick is to move them close enough to each other so you can apply the 3 operations. Use the Translate buttons for this. Since you are viewing in 3D, you cannot be sure if the objects are close until you rotate the view using the XYZ axes tool in the lower right of the canvas. When you have 2 or more objects overlapping like you want them, it is time to Enter an Operation String. Try either a Union, a Difference, or an Intersection operation. This applet uses U for addition, M for minus, and I for intersection.



In the example above, I used this Operation String:

((L1 I N1) M S1) U C1

which means:

((CYLINDER1 & CONE1) — SPHERE1) + CUBE1


This told the applet to Intersect (overlap) Cylinder1 with Cone1, Minus (subtract) Sphere1 from the intersection, and then add Cube1. If my string had been L1 I ((N1 M S1) U C1), the results would have been very different. After entering my Operation String, I hit the enter key to create a new object — Object O1. I copied the Operation String, and converted it into our notation like this:

((CYLINDER1 & CONE1) — SPHERE1) + CUBE1


I then enlarged my doodle (scaled it up), and rotated it to a view I liked. I copied and saved my doodle using Hoversnap. Next, I went back to the applet, rotated my doodle to another viewpoint by dragging it around in the canvas, and repeated the copy and save process once more. And lastly, I uploaded and inserted both of my 3D doodles on this page in a comment. Then I labeled them— just as I previously uploaded my other doodles.

You receive 2 points for each of the 3 operations + – &, plus 1 point for the correct operation string. If you find it easier to make 2 or 3 doodles that together include all 3 operations, then do so, but you must copy the operation string for each. Also, you do not need to post more than one view of your doodle(s).

Post your 3D doodles in a comment on this page after you have created them;
then copy and save them with Hoversnap.
Copy and Insert your 3D doodles the same way you did your previous doodles.
Do NOT post any huge images on any of our wiki pages, (bigger than 15K),
or I will delete them until you have learned to crop out their empty spaces.
Make your images fit inside the comment window.
Label each doodle with its corresponding Operator String.

Warning! Don't let this assignment obsess you. Before you know it, hours may go by, and I don't want you to neglect the other assignments coming this week. This is only an introduction to what can be done with sets and set operators. In today's world, there are zillions of applications of set operations. 3-Dimensional characters are only one example.

Click here to open a new browser window with CSG Instructions.
Click here to open a new browser window with CSG Applet.
Click here for a CSG Video Demo.


OTHER SET NOTATIONS

Throughout this course, you will use set operations extensively. We use + – & as notation for set operations, because we can type them easily on the keyboard; but they do not necessarily mean what they mean in arithmetic; nor are + – & the only notations for set operators. Here are some other popular standard notations:

UNION           +   v   |     È  
INTERSECTION    ·   ^   &     Ç  
NEGATION        —   ~   !     Ø    

 



REMINDER: HOW TO SAVE YOUR DOODLES USING HOVERSNAP

  1. Draw your 3D doodle in the Java CSG applet
  2. Rotate your doodle till you like it
  3. Use HoverSnap to capture your doodle from the screen to your PC
  4. Repeat steps 2 thru 4 for a different view
  5. Attach your GIF images to the PIX page
  6. Insert your images in a comment on this page
  7. Label your doodles with YOUR Operation String

Comments:

From wHolt - 1/26/06 2:20 PM [Edit] [Delete]

— negation                     & intersection                     + union

sphere – cone                sphere & cone                   sphere + cone 

files/Pix/wHolt-minus.gif  files/Pix/wHolt-interection.gif  files/Pix/wHolt-union.gif 


Comments:

From wHolt - 12/10/06 9:41 AM

Bubba - Dont forget your intersection example.

From Bubba - 12/9/06 7:22 AM

((c1+S1)-S2)

From wHolt - 12/7/06 10:58 AM

Bubba - tell us what you did . Use symbol notation.

From Bubba - 12/6/06 10:00 AM

From Trixie - 10/26/06 10:56 PM

((S1 I N1) M L1 M N2 U S2)

Sphere1 & Cone1 - Cylinder1 - Cone2 + Sphere 2

From Boki - 9/29/06 11:48 AM

((L1 I N1) M S1)

From Boki - 9/29/06 11:45 AM

S1  U L1 U N1 

From Boki - 9/24/06 8:15 PM

(S1  U N1 U (S2 M L1) )

From wHolt - 9/23/06 12:49 PM

THIS PAGE IS NOW CLOSED TO FURTHER ENTRIES.

SOME VERY FINE RENDITIONS ON THIS PAGE.

DAVINCI & PICASSO WOULD BE ENVIOUS.

From wHolt - 9/22/06 12:54 PM

Thanks to the doodlers of our latest additions:

Phoenix
JooJoo
Centerfield
Lexiowen
Ivy
SkoolGirl
GolfGirl
RockClimber

Draco - you input the wrong URL. Reread instructions
Lexiowen  - label your doodles

From Ivy - 9/22/06 3:03 AM

((L1 I S1) M C1) U N1

From JooJoo - 9/21/06 9:57 PM

C1MN1

C1 M N1

 ((C1IS1)MN1)UL1

C1 U L1

C1UL1

((C1 I S1) M N1) U L1

From SkoolGirl - 9/21/06 9:43 PM

S1 M S2S1 U L1L1 I N1

Difference S1 M S2                        Union  S1 U L1                             Intersection L1 I N1

From RockClimber - 9/21/06 9:37 PM

Union-Nail                           Intersection-Tunnel                 Minus-Swiss Cheese

Cylinder1+Cylinder2+Cone1/Cube1&Cylinder /Cube1-Cylinder1-Cylinder2-Cylinder3-Cylinder4

 L1 U L2 U N1                       C1 I L1                                       C1 M L1 M L2 M L3 M L4

Thanks-Rockclimber

From Lexiowen - 9/21/06 9:15 PM

S1 U N1(S1 U N1) I L1S1 M L1

From Phoenix - 9/21/06 7:02 PM

c1 u n1San Francisco TransAmerica Building, C1 u N1, Union. Cube plus Cone.

From Draco - 9/21/06 6:57 PM

                          

Union                                       Intersection           Negation

((N1 + S1))                              ((N1 & S1))            ((N1 - S1))

From Phoenix - 9/21/06 6:57 PM

S1 m L1 negationDonut, Negation, S1 m L1. Sphere minus Cylinder

From Phoenix - 9/21/06 6:54 PM

S1 i N1Rowboat, S1 i N1, Intersection. Sphere &(overlap) Cone

From CenterField - 9/21/06 4:28 PM

Big-eyed Snowman

Olympic Logo

From GolfGirl - 9/21/06 3:15 PM

 UNION INTERSECTION NEGATION

From wHolt - 9/21/06 1:52 PM

Bravo - you entered the wrong URL for one of yours

Deuce - where is your intersection operation?

CatsEyes - nice pencil and sharpener?

From CatsEyes - 9/20/06 9:45 PM

 Intersection

C1 I L1

Cube & Cylinder

Negation and Union

L1 U N1 M S1

Cylinder + Cone - Sphere 

From Deuce - 9/20/06 8:57 PM

s1 m s2 m s3 u n1

 

From Bravo - 9/20/06 5:50 PM

 sphere and cube

S1 U C1

 My  picture is of a sphere and cube union.  They formed a union when two points touch in one spot.  Intersection deals with two points that connect or touch each other.  I think this abstract stuff is cool.  Its a great way of looking at objects that are still not right in front of you and visualizing why that you can only see certain parts.  like lines that cross  you can only see part of them the rest of them are hidden.  So essentially you see the whole object but yet you really dont

From wHolt - 9/20/06 1:17 PM

Nice art work from Harkar, Taurus, and David

From David - 9/20/06 8:09 AM

((S1 I N1) U L1) M C2

From Taurus - 9/19/06 9:02 PM

((Cone & Sphere) - Cylinder) u Cube

((Cone + Sphere) - Cylinder) & Cube

From Harkar - 9/19/06 7:52 PM

C1 M L1 rotated C1 M L1 C1 M L1        S1 I C1 rotated  S1 I C1 S1 I C1

 S1 U N1 rotated S1 U N1  S1 U N1

From wHolt - 9/19/06 12:13 PM

Thanks, Fro and Capricorn. Utensils for the 21st century?

From Capricorn - 9/19/06 7:36 AM

((Sphere - sphere) + Cylinder) u cube

((Sphere - sphere) + Cone) & cube

 

From Fro - 9/18/06 7:45 PM

negation   L1 u S1    L1 i S1
                        Negation ((N1 m S1) i S1)                                      Addition (L1 u S1)        Intersection (L1 i S1)

From wHolt - 9/17/06 1:46 PM

OK - Soller and Zonino. You are now ready to apply for patents... Wink

From Zonino - 9/16/06 10:43 PM

Peanut

Peanut (Sphere 1 + Sphere 2)

Contact Lens (Sphere 1 - Sphere 2)

 

Bottle Cap (Cylinder 1 & Sphere 1)

 

From Soller - 9/16/06 8:21 PM

Whistlestack

((((C1 m S1) m S2) I N1) U L1)

(((( Cube1 - Sphere1) - Sphere2) & Cone1) + Cylinder1)

From wHolt - 9/16/06 12:16 PM

nice renditions from Melewen and Hotrod

From HotrodMinivan - 9/16/06 11:26 AM

(S1 M N1)

Negation - anatomy of an eyeball - (S1 M N1)

From HotrodMinivan - 9/16/06 11:14 AM

((N1+(L2+L3))^((S1,S2)+L1)), ((N2^(L!+L4))

Union & Intersection = ((N1+(L2+L3))^((S1,S2)+L1)), ((N2^(L1+L4))

From Melewen - 9/15/06 4:17 PM

Union

Negation

Intersection

From wHolt - 9/15/06 12:43 AM

BassLady- your strings are readable. Cheana's were not.

DirtyBird - nice renderings, but your intersection is actually a union.
only the overlapping volumes are intersections.

From DirtyBird - 9/14/06 8:30 PM

c1 - s1

n1 + s1

n1 & n2

 

 

 

From BassLady - 9/14/06 7:35 PM

The strings I wrote below the picture???  Is that not what I was supposed to put for the strings?  What am I missing?

From wHolt - 9/14/06 2:31 PM

Thanks, Butterfly & Bob

nice diamond ring

From Bob - 9/13/06 10:42 PM



Diamond Ring  MINUS, UNION, INTERSECTION    (S1 M L1) U (S2 I N1)

From Butterfly - 9/13/06 9:57 PM

((S1 I L1)M N1)U C1

 (S1 M N1)

From wHolt - 9/13/06 9:58 AM

Nice renditions from Cheana and Basslady

Don't forget to include your symbol strings!

From BassLady - 9/12/06 11:45 PM

BassLady-(L1 U c1) i N1

(L1 U c1) i N1

From BassLady - 9/12/06 11:28 PM

C1 U S1

C1 U S1

From BassLady - 9/12/06 11:19 PM

C1 M S1

C1 M S1

From Cheana - 9/12/06 5:07 PM

 Intersection (Cube, Cylinder, Sphere Union, Sphere, Cone

From wHolt - 9/12/06 11:12 AM

Today's renditions brought to you by Slick, Sunshine, Tiger, Aeneid, and Pod...
As Pod points out,
the difference between Union and Intersection is the most important distinction you can make in this exercise.
Please understand it; for later it will be of critical importance!

From Pod - 9/12/06 9:58 AM

This one was C1 M C2 U (C3 I N1)

After playing with the app for a bit, I realized the difference: a union simply joins two parts where they are; an intersection works on the points the two contact each other.  That's why my cone didn't show up completely; the operation only used the parts of N1 that intersected C3.  duh...

From Pod - 9/12/06 8:52 AM

I don't know if I'm just dense, or if I'm just missing something, but I can't understand the difference between a union and an intersection... and I don't want to turn in a rendering until I have that clarified.

From Aeneid - 9/11/06 10:31 PM

(S1 MN1) U S2 IMPACTED RESULTS

(S1 M N1) U S2

 

From Aeneid - 9/11/06 10:27 PM

(S2 M N1) I S1(S2 M N1) I S1

From Tiger - 9/11/06 9:27 PM

MinusIntersectUnion

C1 M S1                       S1 I L1                      N1 U S1

From Aeneid - 9/11/06 7:47 PM

Aeneid csg 2 SECOND STAGE - UNION

From Aeneid - 9/11/06 7:36 PM

aeneid - csg -stage one

From Slick - 9/11/06 3:10 PM

Intersection  Cube Intersects Sphere (C1 I S1)

From Slick - 9/11/06 12:15 PM

Minus  Cube - Sphere (C1 M S1)

From wHolt - 9/11/06 11:55 AM

7Iron- Neat and concise way to get all 3 operators into one doodle.

From Sunshine - 9/11/06 12:33 AM

c1 u n1

c1 n n1 union

s1 I n1 intersection

c1 m s1 negation

From Slick - 9/11/06 12:11 AM

Cylinder + Sphere (L1 U S1)    Cylinder + Sphere (L1 U S1)

From 7Iron - 9/10/06 2:53 PM

(cube2 & cylinder) - (cube1 + cone)

(cube2 & cylinder) - (cube1 + cone)

(C2 I L1) M (C1 U N1)

From wHolt - 9/10/06 11:05 AM

Hotrod - you need to tell us what operations you performed to create your renderings.

Nice mug from Troll.

Unique renderings from Pac.

From Pac - 9/9/06 7:04 PM

Precarious  Defective Helmet

Left image:  (s1 m s2 m s3 m s4) u n1)

Right image:  ((c1 i s1) m n1) u n2

From Troll - 9/9/06 6:43 PM

mug (L1 M L2) U (S1 I C1) M L3

(Cylinder1 - Cylinder2) + (Sphere1 & Cube1) - Cylinder3= Coffee Mug

You can't see the Cube shape because it was used for the intersection of the sphere-shaped handle and the cylinders that make up the main mug. 3rd cylinder was simply the hole in the handle.

From HotrodMinivan - 9/9/06 6:16 PM

N2 U (S2 S3 S4) I S5 C1 C2

N2 U (S2 S3 S4) I S5 + C1, C2

From HotrodMinivan - 9/9/06 2:58 PM

Saturn S1 I S2

S1 I S2

From wHolt - 9/9/06 2:47 PM

Nice doodling going on...
You should receive extra points for the extra time.

Superduke - nice bat (bottle?) and cup. virtual extra points at least.

Spartan & Trixie-nice renditions, but did not see an intersection applied.

BlondeGirl- you must not URL back to your home computer.
The URL must refer to your attachments, or we dont see it.

Houdini pulled a few cool ones out of the hat.
Glad some one is having fun.

From Houdini - 9/8/06 9:23 PM

 Jack!Death Star  Watermelon

Union

Proud founder of Jack-In-The-Box!

(N1 U L4) U (N4  U  S1 U L2 U L3 U N3)

It's all one function, but it's cool!

Negation

Luke, I am your father!

(S1 M  N1)  U  S2

Again, simple but cool!

Intersection

Mmmm, Watermelon sure is good!

(c1 m l1 m l2 m l3 m l4 m l5) i s1

Once more, simple function, lots o' work! And it's cool!

From BlondeGirl - 9/8/06 9:09 PM

Fish

 ((S1 U L1) U N2) translates to:  (Sphere1 + Cylinder1) + Cube 2 - Use of Union

Union and Minus

 

((N2 I S2) U C2)  Translates to (( Cone2 & Sphere 2) + Cube 2 

 

 

From Trixie - 9/8/06 6:03 PM

Capture 1   capture2

((N1 U S1) M C1 M S2 U C2)This translates into: Cone + Sphere - Cube - Sphere2 + Cube2

From Spartan - 9/8/06 4:39 PM

c1 u s1 m n3 u s2 m n2 u l1c1 u s1 m n3 u s2 m n2 u l1

+Union, -Negation  (Cube1 + Sphere1 - Cone1 + Sphere2 - Cone2 + Cylinder1)

This is made of several additions and some subtractions.

From SuperDuke - 9/8/06 1:35 PM

Play Ball!!!!!!!(((( L1 + S1) + N1) + L2) +S2) - S3

This is a combination of several additions and one subtraction

Thirsty anyone?((L1 & S1) + L2) + S2

The intersection is used to form the main part then the stem and base were added.

From wHolt - 9/8/06 11:02 AM

Kathi- thanks for going first
but can you clarify your labels? which are which?

From Kathi - 9/8/06 8:31 AM

  
 Sphere minus Cube Cylinder Union Cube cylinder union sphere minus cube intersection sphere

 - negation  

Sphere - Cube  

 + union   

Cylinder + Cube & Sphere  

 & Intersection

cylinder +  sphere  - cube & sphere

 

                      (Cylinder + (Sphere - Cube) & Sphere)  =         (L1 U (S1 M C2) I S1)   
 

 

                                                  

 



Last Modified 12/17/06 8:52 PM

Hide Tools