Sunday, March 15, 2009

Final Image Preview

Here is the overall website we'll be creating. Want access to the full Vector Source files and downloadable copies of every tutorial, including this one? Join VECTORTUTS PLUS for just $9/month. You can view the final image preview below or view a larger version here.



Step 1

Start a new document with a width of 960 px and a height of your choosing. I've chosen this width because this website will likely incur internet traffic who have average to large monitors. A width of 960 pixels is a safe size that will favor the majority of visitors. Last, set your Color Mode to RGB.


Step 2

The black border shows the document size (called the Artboard) that we created. I like to place a blank screenshot of a browser window on its own layer while I'm designing, to get a good idea of what my website will look like when it's done.


Step 3

This next step is very important. Make sure you are aware of what zoom you're viewing the document at. When all is said and done, your website will be seen at 100%. Feel free to zoom in and out while working on your layout, but be certain all your text and design elements are readable when viewed at 100%. Use the drop down highlighted below (or simply type in the percentage you want) to change the zoom to.
Sidenote: sometimes Adobe Illustrator gets testy and doesn't show the numbers as you type them into the zoom area highlighted below. For example, if you type 58% sometimes the numbers don't change as you're typing. If this is the case, simply press return after you enter your values, and your document will be resized to the number you entered.


Step 4

The Artboard can be toggled between visible and invisible by going to View> Hide Artboard. The problem with this is that it takes a little longer than showing and hiding guides (Command + Semicolon Key) So, I find it best to use guides and hide the Artboard. Over the course of laying out a whole website you will find it much easier to press a quick key command rather than going to the top of the screen and selecting from a list every time.



Step 5

You may find it easy to establish balance and a nice hierarchy by first drawing simple grey boxes on your page. The thin rectangles represent where I plan on using text while the large grey boxes will be images.


Step 6

After you have a general idea of what the layout will look like you can add guides and remove the grey boxes.


Step 7

Using only the guides as a reference, add other elements like navigation, text, and tighten-up where the logo, images ,and icons will go. It is helpful to toggle your guides on and off (Command + Semicolon Key), while you are finessing the layout. If the guides you drew don't work as well as you thought, definitely adjust them as you see fit.
Sidenote: when you toggle guides on and off they automatically become locked. You cannot move locked guides. To unlock guides quickly press Command + Option + Semicolon.


Step 8

Continue finalizing your header with images, icons, and graphics.

Step 9

Below I've decided to add a light blue color to enhance the header.


Step 10

Add styling to your text, making sure to decide what links and headings will look like. I find it much easier and faster to accomplish as many design elements inside Illustrator so I can concentrate on programming and coding the website when the time comes.


Step 11

There are a couple different ways to prepare a design for use inside a WYSIWYG (What You See is What You Get) editor, like Adobe Dreamweaver. The first method is using slices. Slices can be made using guides or a selection. To use guides to make slices first drag guides onto your page around each object that will require its own link. For example, an icon that, when clicked, goes to a specific page. Below I have four icons, each icon will lead the visitor to a different web page or area of the site.
I have drawn guides between each icon and just outside of the blue area. It is usually cleaner if you draw your guides about 1 or 2 pixels outside of the area that you are slicing. This ensures none of your artwork will be cut off.
Sidenote: Do not draw guides over your entire layout at once. Instead, do sections one at a time. For example, first do the header area. Clear all of your guides by going to View > Guides > Clear Guides. Save your slices for the web (discussed in a later step) and repeat this process for other areas of the layout.



Step 12

Once you have your guides drawn the next step is to make slices out of them. To make slices from your guides go to Object > Slice > Create from Guides. On occasion, Illustrator may not make slices the first time you attempt to. I have found that I sometimes need to repeat this step three or four times before Illustrator actually will make slices. Below, the black numbered boxes indicate that the slices have been made.



Step 13

To save your slices for use on a website go to File > Save for Web & Devices... Use the Slice Select Tool (K) highlighted in the upper left corner to select the specific slices that you want to save. Select multiple slices at once by holding down shift. Adjust the settings on the right to suit your needs. JPEG images work best for items that have several colors, while the GIF file format works well for items that have large areas of color and not many colors in general, PNG file format works well for transparent graphics (though may require some work to adjust for older IE browsers). You may want to test quality versus file type and adjust the Quality to save bandwidth. Once your ready, click Save.



Step 14

Decide where you want to save the images to. I've chosen the Desktop. Under format select Images Only, then click Save.



Step 15

On your Desktop you will now have a folder called Images. Inside this folder will be the specific slices (images) you selected. These images are ideal in resolution and file size for use on the web.



Step 16

As mentioned in Step 11, clear your guides by going to View > Guides > Clear Guides. Now, draw new guides around the next area that you want to slice. The hover state (when the mouse is over the navigation) will be red, while the off state will be grey. You will need to make both versions of the navigation. To efficiently accomplish this, first make all of your navigation red then go to File > Save for Web & Devices...



Step 17

Select the specific slices you want to save. Since my navigation is not made up of images or an abundance of colors I have decided the best filetype for the navigation will be GIF, then click Save. Also, note that if your user a web supported font, then you may decide to use html text instead of images.


Step 18
You can give your images a new name at this point. However, they are automatically named for you so this is not mandatory.



Step 19

If you saved your images to the same location as before, you will notice the Images folder on your Desktop now includes the additional images you just saved. Repeat Steps 16-18 to make the off state for your buttons.



Step 20

Keep in mind this is just one possible workflow. Alternatively, you could place on and off states somewhere in your document, create all your slices, and export them together.
The other method of creating slices is by selecting an object then going to Object > Slice > Create from Selection. Creating slices using guides or from a selection is fine as well. Use a workflow that you find comfortable and best for the particular project you're working on.



Step 21

On occasion you will not need to include the text that falls within a slice. For example, the footer will have text that is typed inside of the WYSIWYG editor. If this is the case simply delete the text before or after you make the slices, but previous to saving the slices for the web.


Step 22
Below you'll notice that I deleted the text after the slices were made.


Final Image

Observe the final website. As you can see, laying out a website in Adobe Illustrator is simple and effective. You can quickly experiment with design and give this phase of the web design process the attention and thought it needs. You can view the final image below or view a larger version here.

Monday, January 5, 2009

How to use Gradient Tool

 
Gradient Tool


Step 1: Open your Illustrator program and create new document. Set Size: Custom, Units: Pixels, Width: 500, Height: 500 and Color Mode: RGB.

Step 2: Click the Type Tool or press T and type anything on the artboard. Right click to the text and set Font: Verdana Bold, Size: 48. It should be look something like below:-



Note: I will use a text as an example in this tutorial instead of rectangle or any shape. Once you can apply this effect on text, it will get easier for you to apply it on any shapes. (the text was zoom at 150%)

Step 3: While the text is still on selected, go to Object > Expand Keep the Object and Fill checkbox in checked and click Ok.

  

You'll get something like below:

   

Step 4: Ok, now go to Swatches palette (Window>Swatches) and apply the gradient effect to the text.



Wow, it's really great. Is that all? Of course not. We gonna change that default white, black color to another color. Ok, let's go to the next step.

Step 5: While the gradient text is still on selected and the Swatches palette is still on the artboard, open the Gradient palette (Window>Gradient or F9). Drag the red color from the Swatches palette (or any color) and drop it to the 2nd gradient slider (the one that have black in color). See image below:-



Set the Angle: 45 and you should have some thing like below:



If you drag the red color and drop it beside the 2nd gradient slider (the black one) you'll get something like below:-



Note:

1. Location: 70% is the location of the red slider or handler. Click to the small triangle-rectangle icon to know the location of the handler.

2. Try to drop more color and see how it looks like. Set the Gradient Type: Radial instead of Linear and move the handler left or right. And try a different angle value.

3. If the color you're looking at is not on the Swatches palette, you have to open the Color palette (Window>Color or F6). For example, if you want to change the black handler to dark blue, click to the black handler. Then manually enter the RGB value in Color palette. E.g R: 0, G:51 and B: 102. You also can use the RGB spectrum below it. For more info about RGB color value, visit RGB Color Chart or RGB Color Codes website.

4. To get rid of the handler that you've just added, just drag it to the bottom of the Gradient palette.

Ok, the next steps are optional. I will show you how to apply gradient effect separately on each character using the Gradient Tool (G).

Step 6: Select the gradient text that we have just created. Go to Object>Ungroup (Shift+Ctrl+G).



Step 7: Ok, final step. Click the Selection Tool (or press V) and select any character that you want to make a change. Then, select the Gradient Tool (or press G). Click on the top left of the character (while holding the left mouse click), drag it to the center middle and release the mouse click. You should have something like below:-

               

Try to apply it to another character and use a different direction. Finally apply some drop shadow (Effect>Stylize >Drop Shadow ) to the gradient text or anything you want. DONE.

This is my final outcome:



Maybe next time I'll show you how to create a wave effect on text using Illustrator

Sunday, January 4, 2009

Adobe illustrator Shortcuts


illustrator Shortcuts

If you liked my previous article on Photoshop shortcuts, you’ll probably find this post useful. Here are 26 Illustrator shortcuts that can help you to speed up productivity. I use most of them (in fact, I can’t work without them). Most of shortcuts listed in this article aren’t documented in the software, so keep reading and you’re sure to find at least one new trick to put up your sleeve. Enjoy!
Note: this article is written in Mac Illustrator CS3 format. If you are using PC, Cmd key = Ctrl key and Opt = Alt.

1. Change the Unit Setting
   You can quickly change the Artboard unit measurement setting by right-clicking on the ruler.


2. Activate Tool Options
    With the tool selected, (e.g. Blend Tool), press the Enter key to open up the Blend Options          window. Another way to open up the tool option panel is to double-click on the tool icon.


3. Duplicate a Series of Objects
  Select the object, hold down Option key and drag. You now have a copy of the object. Each time   you press Cmd + D (Transform Again) you distribute more copies.


4. Draw Shape with Options
  Select any shape tool, (e.g. Star Tool), click anywhere on the Artboard, it will let you draw a      shape with options.


5. Zoom With Mouse Wheel
  Hold down Option key & scroll the mouse wheel up or down to zoom in/out


6. Gradient Stop Color
  To quickly change a gradient stop color to any color swatch in the library: select a gradient stop,   hold down Option key and click on a swatch.

7.Switch Color Profile
  Hold down Shift key and click on the color bar will let you toggle through the color profiles:    Grayscale, RGB, HSB, CMYK, Web Safe RGB.


8. Layer Visibility
 Cmd + Click Visibility Icon = toggle view mode (Outline/Preview)
 Opt + Click Visibility Icon = hide other layers (Opt + click again will show all)
 Click Visibility Icon & Drag = toggle multi layers



9.New Layer
 Cmd + L = New layer
 Cmd + Opt + L = New layer with options


10.Select All Objects on Layer
 To select all objects on a particular layer, hold down Option key and click on the layer name.



11.Navigate Live Paint Bucket Color
 With the Live Paint Bucket tool selected, click on any swatch in the Color palette, now use the  arrow keys (Up, Down, Left, Right) to navigate through the swatches.

           

12.Fill and Stroke Color
 D = Default color (white fill & black stroke)
 X = Toggle between fill and stroke
 Shift + X = Swap fill and stroke color
 / = None (transparent)
 < = Color fill
 > = Gradient fill

                

13.Saturate or Desaturate Color
  Holding down Cmd key and dragging the color slider will saturate or desaturate a mixed color.



14.Increase/Decrease Input Field Value
 Place the cursor in any input field, press arrow Up or Down to increase/decrease.
        

15Close Pencil or Brush Path
 By default, Illustrator will use close a Pencil and Brush path. To close a Pencil path manually,  hold down Option key when you are about to finish drawing the path.
         
               
 
16.Add or Subtract Sides
 With the Star Tool, drag on the Artboard (do not release the mouse yet), press Up or Down arrow to add/subtract sides. Notes: this shortcut can also works for the Arc, Spiral, Rectangle Grid, Polar Grid, Polygon, and Flare Tool.



17.Inner Radius
 With the Star Tool, drag on the Artboard (do not release the mouse yet), holding down the Cmd  key while dragging will let you control the inner radius. This shortcut also works for the Spiral  Tool.

18.Continuous Duplicates Based on Mouse Movement
 With any shape tool, holding down the Tilde (~) key while dragging will make continuous  duplicates based on your mouse movement. This is a very useful shortcut to create fun and  complex artwork.

      

19.Straight Sided Star
 With the Star Tool, while dragging holding down the Option key will let you draw a straight side  star.

    

20.Lock and Unlock Objects
 Cmd + 2 = Lock selected object(s)
 Cmd + Opt + Shift + 2 = Lock all deselected objects
 Cmd + Opt + 2 = Unlock all
21. Switch Between Move and Selection Tool
  Cmd + Opt + Tab = Switch between Move and Direct Selection Tool.
  Option (Direct Selection Tool selected) = toggle to Group Selection Tool.

     

22.Hide and Show Objects
 Cmd + Opt + Shift + 3 = Hide all deselected objects
 Cmd + Opt + 3 = Show all objects

23. Eyedropper - Sample Photo or Gradient Color
  To sample intermediate color from a gradient or photo: with the Eyedropper tool selected, hold   down Shift key and click on the photo.

           

24.Make and Release Guide
 Cmd + 5 = Convert selected object to Guide
 Cmd + Shift + double-click on Guide = Release Guide

          

25.Font: Size, Leading, Kerning and Tracking
 Cmd + Shift + > or < = Increase/decrease font size
 Opt + Up or Down = Increase/decrease leading
 Opt + Left or Right = Increase/decrease kerning or tracking
 Cmd + Opt + Q = Reset kerning/tracking to zero

26.Add New Fill and Stroke
 Cmd + / = Add new fill
 Cmd + Opt + / = Add new stroke