<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PeHaa Blog &#187; egg</title>
	<atom:link href="http://pehaa.com/tag/egg/feed/" rel="self" type="application/rss+xml" />
	<link>http://pehaa.com</link>
	<description>mad about art and digital</description>
	<lastBuildDate>Wed, 18 Apr 2012 11:58:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>illustrator tutorial: create a 6-egg box (not necessarily for Easter)</title>
		<link>http://pehaa.com/2010/03/illustrator-tutorial-create-a-6-egg-box-not-necessarily-for-easter/</link>
		<comments>http://pehaa.com/2010/03/illustrator-tutorial-create-a-6-egg-box-not-necessarily-for-easter/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 23:32:57 +0000</pubDate>
		<dc:creator>PeHaa</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[easter]]></category>
		<category><![CDATA[egg]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://pehaa.com/?p=1633</guid>
		<description><![CDATA[In this tutorial you will learn how to create a 6-egg box (full of eggs). We will use 3D Rotate and Revolve Effects. We will also play a lot with masks. You may download the source file (created in Illustrator CS4, back-saved to CS2+).]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p><img src="http://pehaa.com/wp-content/uploads/2010/03/Preview1.png" alt="" title="Preview1" width="600" height="482" class="aligncenter size-full wp-image-1780" /><br />
In this tutorial you will learn how to create a 6-egg box (full of eggs). We will use 3D Rotate and Revolve Effects. We will also play a lot with masks. You may download the source file (created in Illustrator CS4, back-saved to CS2+).</p>
<div class="download">
<h3><a href="http://pehaa.com/wp-content/uploads/2010/04/sixeggbox.ai_.zip">Free source file: Ai CS4  (ai.zip 1,5 MB) </a></h3>
<p><small><br />
</small>
</div>
<h2>Part I &#8211; Preliminaries</h2>
<h3>Step 1</h3>
<p>Open a new 800 px x 600 px RGB document in Illustrator.<br />
Go to Illustrator > Preferences > General and make sure that the Keyboard Increment is set to 1px.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/preferences.jpg" alt="" title="preferences" width="600" height="395" class="aligncenter size-full wp-image-1661" /></p>
<h3>Step 2</h3>
<p>With the Rectangle Tool (M) create two rectangles. The sizes of mine are: the bottom 444 px x 198 px and the top 403 px x 162 px. Center them vertically and horizontally.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/box1.jpg" alt="" title="box1" width="600" height="239" class="aligncenter size-full wp-image-1670" /><br />
Select (V) the smaller (top) rectangle and tap twice the Up Arrow key to shift it 2 pixels up.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/box2.jpg" alt="" title="box2" width="602" height="240" class="aligncenter size-full wp-image-1678" /><br />
Select the bottom rectangle. Go to Effect > Stylize > Round Corners&#8230; and set the Radius to 77px.<br />
Repeat that for the top one, this time setting the Radius to 65px.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/box41.jpg" alt="" title="box4" width="600" height="263" class="aligncenter size-full wp-image-1672" /><br />
Select both rectangles. Go to Effect > 3D > Rotate and choose the settings as in the image<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/box4.jpg" alt="" title="box4" width="533" height="362" class="aligncenter size-full wp-image-1666" /><img src="http://pehaa.com/wp-content/uploads/2010/03/box5.jpg" alt="" title="box5" width="600" height="264" class="aligncenter size-full wp-image-1673" /><br />
Keep the two rectangles selected and go to Object > Expand Appearance.<br />
Don&#8217;t deselect and release the clipping masks that were just created by Illustrator. To do that go to Object > Clipping Mask > Release or use the keyboard shortcut Option/Alt+Cmd/Ctrl+7.<br />
Next go to Object > Path > Clean Up.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/cleanup.jpg" alt="" title="cleanup" width="391" height="226" class="aligncenter size-full wp-image-1664" /><br />
Finally, select both shapes and ungroup twice Shift+Cmd/Ctrl+G (or Object > Ungroup).<br />
Now, the two shapes appear in the Layer Panel as Paths.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/box6.jpg" alt="" title="box6" width="600" height="240" class="aligncenter size-full wp-image-1680" /><br />
Copy Cmd/Ctrl+C the bottom shape and paste it to front Cmd/Ctrl+F. Keep it selected and holding down the Shift key select also the top smaller part. Choose Divide from the Pathfinder Panel. Ungroup Shift+Cmd/Ctrl+G.<br />
Bring the frame (compound path) forward Cmd/Ctrl+] (or go to Object > Arrange > Bring Forward).<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/box6b.jpg" alt="" title="box6b" width="600" height="339" class="aligncenter size-full wp-image-1718" /></p>
<h2>Part II &#8211; Create the box lid</h2>
<h3>Step 3</h3>
<p>Copy the three shapes created in Part 1 and turn them upside down (to be sure it&#8217;s exactly 180 degrees hold the Shift key down)<br />
Bring the frame part to front Shift+Cmd/Ctrl+] (or go to Object > Arrange > Bring to Front).<br />
Apply a gradient fill as in the image below, the numbers represent the RGB values.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lid21.jpg" alt="" title="lid2" width="600" height="291" class="aligncenter size-full wp-image-1696" /><br />
Copy the lid frame Cmd/Ctrl+C and paste it to back Cmd/Ctrl+B. Tap 4 times the Up Arrow key to shift it 4 pixels up.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lid3.jpg" alt="" title="lid3" width="600" height="241" class="aligncenter size-full wp-image-1687" /><br />
Apply the gradient to the lid frame bottom copy as in the image (For your convenience you can make all the other objects invisible Cmd/Ctrl+3)<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lid4.jpg" alt="" title="lid4" width="600" height="256" class="aligncenter size-full wp-image-1700" /><br />
Here is what we get<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lid5.jpg" alt="" title="lid5" width="600" height="222" class="aligncenter size-full wp-image-1699" /></p>
<h3>Step 4</h3>
<p>Select the inner part of the lid and apply a radial gradient as in the image<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lid6.jpg" alt="" title="lid6" width="600" height="325" class="aligncenter size-full wp-image-1705" /></p>
<h3>Step 5</h3>
<p>Get back to the lid frame. Select it and go to Effect > Stylize > Drop Shadow&#8230; Set the parameters as in the image<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lidshadow.jpg" alt="" title="lidshadow" width="553" height="366" class="aligncenter size-full wp-image-1685" /><br />
(1) Since I do not want to have the lid frame shadow outside the lid we will create a clipping mask.<br />
(2) In the Layer Panel select the lid shape. Bring it to front Shift+Cmd/Ctrl+]. Holding down the Shift key select bot the lid shape and the lid frame. To create a clipping mask either go to Object > Clipping Mask > Make or use the shortcut Cmd/Ctrl+7.<br />
(3) Here is what we get. Select all element and group the lid Cmd/Ctrl+G.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/lid7.jpg" alt="" title="lid7" width="600" height="507" class="aligncenter size-full wp-image-1704" /><br />
For your convenience create a new layer Cmd/Ctrl+L. Select the lid and drag it for a while to the new layer. </p>
<h2>Part III &#8211; Create an egg</h2>
<h3>Step 6</h3>
<p>You may use the image below as a template to draw the shape of your egg. Lock this image Cmd/Ctrl+3. Next draw an elipse (L) starting in the center of the template egg – hold the Option/Alt key. Then reshape your ellipse using the Direct Selection Tool (A).<br />
<img src="http://pehaa.com/wp-content/uploads/2009/04/egg_template.jpg" alt="" title="egg_template" width="600" height="667" class="size-full wp-image-421" /><br />
With the Direct Selection Tool (A) select the right half or your egg and delete it.<br />
<img src="http://pehaa.com/wp-content/uploads/2009/04/create2revolve_shape.jpg" alt="" title="create2revolve_shape" width="600" height="453" class="size-full wp-image-417" /><br />
Set its stroke color to white, no fill and go to Effect > 3D > Revolve. Click More Options to view the complete list of options. In the image below you will find all the settings I used.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/egg_revolve.jpg" alt="" title="egg_revolve" width="533" height="687" class="aligncenter size-full wp-image-1640" /><br />
With the Shift-key hold down rescale your egg so that it was about 106 px x 144 px.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/egg1.jpg" alt="" title="egg1" width="283" height="366" class="aligncenter size-full wp-image-1654" /></p>
<h3>Step 7</h3>
<p>Copy Cmd/Ctrl+C and paste to back Cmd/Ctrl+B the egg. Open the Appearance Panel and change the settings to No Shading.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/egg_copy.jpg" alt="" title="egg_copy" width="533" height="492" class="aligncenter size-full wp-image-1649" /><br />
(1) You should get a white egg shape.<br />
(2) Keeping it selected go to Object > Expand Appearance.<br />
(3) Don&#8217;t deselect and choose Unite from the Pathfinder Panel.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/egg_expand.png" alt="" title="egg_expand" width="600" height="263" class="aligncenter size-full wp-image-1650" /></p>
<h3>Step 8</h3>
<p>Keep the just created white egg copy selected and go to Effect > Stylize > Drop Shadow and choose the settings as in the image<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/egg_shadow.jpg" alt="" title="egg_shadow" width="553" height="366" class="aligncenter size-full wp-image-1655" /><br />
Select both the top and the bottom eggs and group them Cmd/Ctrl+G (or go to Object > Group).<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/egg2.jpg" alt="" title="egg2" width="600" height="366" class="aligncenter size-full wp-image-1658" /></p>
<h3>Step 9</h3>
<p>In order to obtain the colorful egg use orange R = 247 G = 147 B = 30 as the stroke color instead of white and choose R = 86 G = 45 B = 34 as the Custom Shading color in the 3D > Revolve Panel.<br />
If you want to add some decor to your egg(s) (fill your box with Easter eggs maybe(?)) visit my <a href="http://pehaa.com/2009/04/tutorial-create-and-color-an-ai-eco-easter-egg/">tutorial: Create and color an eco easter egg in Adobe Illustrator.</a></p>
<h2>Part IV &#8211; Create the bottom part of the box</h2>
<h3>Step 10</h3>
<p>First we will apply gradients to all three parts created in Part I.<br />
First add a gradient fill as in the image to the frame part:<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main1.jpg" alt="" title="main1" width="486" height="331" class="aligncenter size-full wp-image-1731" /><br />
Next to the inner part:<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main2.jpg" alt="" title="main2" width="490" height="308" class="aligncenter size-full wp-image-1730" /><br />
Next copy Cmd/Ctrl+C the very bottom part and paste it to front Cmd/Ctrl+F, tap three times to shift it 3 pixels down<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main3.jpg" alt="" title="main3" width="600" height="231" class="aligncenter size-full wp-image-1729" /><br />
Fill it with the same gradient you used for the frame part, then reverse the gradient.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main4.jpg" alt="" title="main4" width="490" height="248" class="aligncenter size-full wp-image-1728" /></p>
<h3>Step 11</h3>
<p>Now we will put the eggs in.<br />
Make sure you have 5 white eggs and a colorful one. Bring them all to front Shift+Cmd/Ctrl+]. Scale down the three eggs from the second row. I used the Object > Transform > Scale (see the image below). Arrange the eggs &#8216;<em>on</em>&#8216; the box.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main5.jpg" alt="" title="main5" width="600" height="398" class="aligncenter size-full wp-image-1736" /></p>
<h3>Step 12</h3>
<p>To make sure that your eggs do not break before the frying pan is ready to receive an omelette create a tiny rectangle (M). Scale it so that it works well with the size of an egg. With the Direct Selection Tool (A) select the two bottom points and click the little Convert Point icon in the top panel. Apply the gradient fill as in the image.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main6.jpg" alt="" title="main6" width="600" height="301" class="aligncenter size-full wp-image-1735" /><br />
Go to Effect > Stylize > Drop Shadow and set<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main7.jpg" alt="" title="main7" width="553" height="366" class="aligncenter size-full wp-image-1734" /><br />
Place the separators between the first and the second row of eggs.<br />
Group Cmd/Ctrl+G the first row of eggs and the two separators.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main8a.jpg" alt="" title="main8a" width="600" height="227" class="aligncenter size-full wp-image-1744" /><br />
Select the inner part of the box, copy it Cmd/Ctrl+C, paste to front Cmd/Ctrl+F, then bring to front Shift+Cmd/Ctrl+].<br />
Holding down the Shift key select it together with the group of eggs and separators.<br />
Make a clipping mask Cmd/Ctrl+7.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main9.jpg" alt="" title="main9" width="600" height="450" class="aligncenter size-full wp-image-1743" /></p>
<h3>Step 13</h3>
<p>Create a simple shape resembling the wider part of an egg (the easiest way is to start with an Ellipse (L))<br />
Copy it three times and apply the gradient fill as in the image. Send them to back Shift+Cmd+Ctrl+[ (or go to Object > Arrange > Send to Back) and place so that they constitute the base part of the box.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main10.jpg" alt="" title="main10" width="600" height="407" class="aligncenter size-full wp-image-1748" /><br />
You may use Illustrator to distribute them evenly (select all of them and choose Horizontal Distribute Center in the Align Panel) as well as to center it with the rest of the box. To do the latter, select all three shapes, group them Cmd/Ctrl+G. Keep them selected. Holding down the Shift key select the frame of the box. Click again on the frame to make it the key object (this time you don’t need to hold down Shift as you click). This time choose  Horizontal Align Center.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main11.jpg" alt="" title="main11" width="600" height="407" class="aligncenter size-full wp-image-1749" /></p>
<h3>Step 14</h3>
<p>Now, a little bit tricky part where we will add a shadow inside the box. Note that the eggs are over the frame so if we add Drop Shadow effect to the frame, the shadow will not be visible on the eggs. And we want to have it on the eggs in the front row.<br />
Here is how we will deal with that.<br />
(1) Copy Cmd/Ctrl+C the frame, paste it to front Cmd/Ctrl+F then bring to front Shift+Cmd/Ctrl+].  Go to Effect > Stylize > Drop Shadow&#8230; and use the settings as in the image.<br />
(2) With the Rectangle Tool (M) create a rectangle that divides the frame vertically into two parts. Send it backward Cmd/Ctrl+[ (or go to Object > Arrange > Send Backward).<br />
Holding the Shift key select both the frame and the rectangle and choose Divide from the Pathfinder Panel. Ungroup the objects. Delete the rests of the rectangle. Also go to Path > Clean Up.<br />
(3) Here is what we get.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main_shadA.jpg" alt="" title="main_shadA" width="600" height="600" class="aligncenter size-full wp-image-1755" /><br />
(4) Copy Cmd/Ctrl+C the inner shape of the box, paste it to front Cmd/Ctrl+F then bring to front Shift+Cmd/Ctrl+].<br />
Holding the Shift key select it both with the bottom half of the frame. Make clipping mask Cmd/Ctrl+7.<br />
(5) Again copy Cmd/Ctrl+C the inner shape of the box, paste it to front Cmd/Ctrl+F then bring to front Shift+Cmd/Ctrl+] and holding the Shift key select it both with the top half of the frame.<br />
(6) In (4) and (5) Illustrator created groups that contain the clipping mask and the masked object. In the Layer Panel select the group created in (5) and bring it back so that it was placed directly under the eggs from the second row. It&#8217;s done.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main_shadB.jpg" alt="" title="main_shadB" width="600" height="590" class="aligncenter size-full wp-image-1756" /></p>
<h3>Step 15</h3>
<p>Copy Cmd/Ctrl+C the bottom parts of the box that you created in Step 13 and paste them to front Cmd/Ctrl+F. It might be more convenient if you ungroup them for a while Shift+Cmd/Ctrl+G. Select each one separately and apply the gradient fill as in the image. Next select all and in the Appearance Panel change the Blending Mode to Multiply and decrease the Opacity to 42%.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main121.jpg" alt="" title="main12" width="600" height="412" class="aligncenter size-full wp-image-1765" /></p>
<h3>Step 16</h3>
<p>Select the shape that makes the tiny border of the box frame. (In the Layer Panel you should find it just above the elements we worked on in the previous step).<br />
Copy it Cmd/Ctrl+C, paste to back Cmd/Ctrl+B then send to back Shift_Cmd/Ctrl+[.<br />
Go to Effect > Stylize > Drop Shadow&#8230; and enter the settings as in the image<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main13.jpg" alt="" title="main13" width="600" height="415" class="aligncenter size-full wp-image-1766" /></p>
<h3>Step 17</h3>
<p>With the Ellipse Tool (L) create an ellipse. Send it to Back Shift+Cmd/Ctrl+[. Place it as in the image and fill with the black to white gradient as you can see below.<br />
<em>Note</em>: If you are using Illustrator CS4, select the white gradient stop and set its Opacity to 0. Decrease the Opacity of your ellipse to 70% and skip to Step 18.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main14.jpg" alt="" title="main14" width="600" height="387" class="aligncenter size-full wp-image-1772" /><br />
Copy the ellipse Cmd/Ctrl+C and paste it to front Cmd/Ctrl+F. Select both of them and go to Transparency Panel. Choose Make Opacity Mask.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main15.jpg" alt="" title="main15" width="600" height="387" class="aligncenter size-full wp-image-1771" /><br />
To edit the masking object select its thumbnail in the Transparency Panel. It&#8217;s the one on the right (left thumbnail represents the opacity mask, right thumbnail represents masking objects). Then inverse the gradient and check &#8216;Clip&#8217; in the Transparency Panel.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main16.jpg" alt="" title="main16" width="600" height="367" class="aligncenter size-full wp-image-1770" /><br />
Click the masked artwork’s thumbnail (left thumbnail) in the Transparency panel to exit mask-editing mode.<br />
Select the masked ellipse and in the Appearance Panel change the Blending Mode to Multiply and  decrease its Opacity to 70%. Holding down Shift and Option/Alt key drag the ellipse under two other parts of the box.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main17.jpg" alt="" title="main17" width="528" height="314" class="aligncenter size-full wp-image-1769" /></p>
<h3>Step 18</h3>
<p>Put the lid group back to the layer we work on and send it to back Shift+Cmd/Ctrl+[.<br />
Create two rectangles, mine are filled with R = 153 G = 134 b = 117. Try to position them as in the image. Group them Cmd/Ctrl+G and and send to back Shift+Cmd/Ctrl+[.<br />
Select all and chose Horizontal Align Center from the Align Panel.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/main18.jpg" alt="" title="main18" width="492" height="422" class="aligncenter size-full wp-image-1778" /><br />
Holding the Shift key drag the rectangles and the lid down so that to position the three groups properly. The 6-egg box is ready, it&#8217;s time to prepare a pan for an omelette.<br />
<img src="http://pehaa.com/wp-content/uploads/2010/03/final.png" alt="" title="final" width="600" height="450" class="aligncenter size-full wp-image-1779" /></p>
<p>Thank you for reading. I&#8217;m looking forward to your comments.<br />
And&#8230; if you like this post please share: Tweet, Stumble, &#8230;. </p>
<div class="shr-publisher-1633"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fpehaa.com%2F2010%2F03%2Fillustrator-tutorial-create-a-6-egg-box-not-necessarily-for-easter%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fpehaa.com%2F2010%2F03%2Fillustrator-tutorial-create-a-6-egg-box-not-necessarily-for-easter%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://pehaa.com/2010/03/illustrator-tutorial-create-a-6-egg-box-not-necessarily-for-easter/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
