Clock

[ clock >> ]
gradient লেবেলটি সহ পোস্টগুলি দেখানো হচ্ছে৷ সকল পোস্ট দেখান
gradient লেবেলটি সহ পোস্টগুলি দেখানো হচ্ছে৷ সকল পোস্ট দেখান

শনিবার, ৩১ আগস্ট, ২০১৩

Quick Tip: How to Create Gradient Fills and on Stroke in Inkscape

AppId is over the quota
AppId is over the quota

The first time you open Inkscape, it may take a while to finally discover gradients. When you do, they can be rather overwhelming and confusing at first. Check out this quick tip to learn some tricks with Inkscape’s gradients, Gradient Editor, and Gradient Tool. While I’m using linear gradients in this tutorial, the same principals apply to radial gradients.

This little tip allows you to apply a gradient on the fly. Originally, you’d have to open up Fill and Stroke and set the Fill to a linear or radial gradient to your object.

To demonstrate, just draw a square with some sort of color. Then, select the Gradient Tool.

inkscape gradient tool

Now with the Gradient Tool selected, just double-click on the object to apply a gradient. Easy enough!

double-click object

When you make a gradient in the Gradient Editor, it stays in that little drop-down menu. You can apply this same gradient to as many objects as you’d like.

inkscape gradient list

So if you go to edit that gradient, those changes will apply to every object with that gradient. Even if those objects are not selected. Below, you’ll see that I just changed one of the stop colors, which was applied to both of the objects with that gradient.

inkscape gradient editor

While this can be very helpful, sometimes you just don’t want the changes to apply to every object with that gradient (perhaps you’d like to make just a very small adjustment to just one object).

The solution is to select the Gradient Tool and click the object that needs adjusting. This brings up nodes for each stop of the gradient, which can then be selected individually and changed using Fill and Stroke. This method does not alter the original gradient, instead it creates an entirely new gradient with your changes.

select gradient nodes

To add more colors in your gradient, you need to add more stops. Open that Gradient Editor and click Add stop. You’ll notice that you now have three stops in the drop-down box. You can as many of these as you want and change the color of each.

add gradient stops

With more than two stops, you now have the Offset option available. The offset simply changes an inner-stop’s position, as you can see below.

adjust gradient offset

It’s worth noting there are some handy hotkeys for when you’re working with gradients. You may find it quicker and easier to use these:

Hold Control while dragging nodes to snap the angle.Hold Control + Alt to maintain the original angle while dragging nodes.Hold Control + Shift to move around the center point while dragging nodes.move around center

The Repeat drop-down box is located right under the Edit button when you select a gradient fill. Here’s what they do:

Repeat: none means that when the ends of your gradient are exposed, they’ll just keep those end colors and repeat them until the end of time.

gradient repeat none

Repeat: reflected will instead keep reflecting the alternating directions of your gradient when the ends are exposed.

gradient repeat reflected

Repeat: direct will just keep repeating your gradient exactly how it is until it fills the entire area.

gradient repeat direct

You can apply gradients to strokes just the same as you can to the fill. Once you apply a gradient to the Stroke paint, you might notice that you now have two gradient sliders on your object. This is a great thing, because you can now use these to adjust both the fill and stroke paint gradients independently (shown below).

stroke paint gradient

We’ve went over six pretty cool tips on using gradients in Inkscape. Gradients are an amazing feature that should never be passed up, so hopefully this should be enough to get you started in the world of gradients. Thanks for reading!


View the original article here

সোমবার, ৩ জুন, ২০১৩

Quick Tip: Create gradient mesh brush in Illustrator with mesh gate mentor

Error in deserializing body of reply message for operation 'Translate'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 8905.
Error in deserializing body of reply message for operation 'Translate'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 9197.

Adobe Illustrator has two great features, Gradient Mesh and custom Brushes. The problem is they don’t work together, even though it would be an amazing time saver. The good news is that there is a plugin which allows you to combine the two and it’s called Mesh Tormentor. Follow this quick tip tutorial and I’ll show you how.

First we need to download the plugin from the Mesh Tormentor site. It’s very easy to install, just extract the file and double-click it. Adobe Extension Manager will come to help. Just remember to have Adobe Illustrator closed before you start!

gradientbrush_1_1_meshtormentor_install

Our example will be a scale brush for this exercise. I intend on using this to create repeating elements on the body of a dragon. Draw a base shape using your favorite drawing tool. I’m using the Pen Tool (P).

gradientbrush_2_1_brush_shape

Now, convert the shape to a mesh by clicking somewhere in the middle with the Mesh Tool (U).

gradientbrush_2_2_convert_to_mesh

You can change the color of every point. Do it to give the scale a 3D look. Use Direct Selection Tool (A) to select single points and Lasso Tool (Q) to select multiple points.

gradientbrush_2_3_mesh_coloring

Here is what I’m left with. This will be the scale I wish to use in my Scatter Brush.

gradientbrush_2_4_mesh_coloring_more

Here comes the most interesting part. Open the Mesh Tormentor’s window by going to Window > Mesh Tormentor.

gradientbrush_3_1_run_mesh_tormentor

Select your mesh and click the tool shown below. It will convert the mesh to a brush mesh grid, an inter form between mesh and “brushable” shape.

gradientbrush_3_2_convert_to_grid

And this is what such a brush mesh grid looks like:

gradientbrush_3_3_grid

Rotate your brush mesh grid to the right position. What is right position? Imagine a straight horizontal line between left and right edge of the screen – it’s like a straight stroke drawn from left to right. Now, if you place your base element in parallel to this line, you can easily guess where next element will appear. I want my scales to be placed one after another in straight line, so the brush base must be placed horizontally.

gradientbrush_4_1_brush_direction

Our brush can now be made in the usual way. Open Brushes panel and click New Brush icon. Then select the Scatter Brush option.

gradientbrush_4_2_create_new_brush

A new window should appear. You can experiment with these options, as they’re very easy to change afterwards (just double-click the brush on the list to re-open this window). The most important for us at the moment are Rotation and Spacing options. We want our scales to follow the path (hence “Rotation relative to Path”) and to be squeezed a little bit (lower the Spacing for it).

gradientbrush_4_3_brush_settings

Now select your brush from the list and draw whatever you want. It works just like a normal brush, you can resize it and so on. The problem is it’s still made of brush mesh grid.

gradientbrush_4_4_preview

Convert the stroke back to a mesh grid (not a brush line) by going to Object > Expand Appearance.

gradientbrush_5_1_expand

Now just click the option from below. Voila! It’s a mesh again.

gradientbrush_5_2_convert_back

You can also create complicated brushes to save even more time. Just use two or more meshes and select them all before creating new brush.

gradientbrush_6_1_mutliple_scales

The process is the same for such a brush, just remember it may slow your computer down as it will be memory intensive (you’re going to draw a lot of meshes at one time).

gradientbrush_6_2_multiple_scales2

Sometimes you don’t want your brush to be completely straight – irregularities may make your picture more interesting. To create this kind of brush just place your base element at an angle. Imagine all your elements placed one after another between left and right edge of the screen – it should help you figure it out.

gradientbrush_7_1_rotation

Of course, you don’t need to keep restricted to this one simple scale – there are so many possibilities for this! Just remember, if you’re a beginner when it comes to gradient mesh, use some simple shape (like rectangle) as a base before building something more complicated. If you draw a complicated shape as a path and converted it to mesh, mesh points could be placed in many surprising – thus hard to control – positions.

gradientbrush_8_1_more_examples

You’ve just learn’t how easy it is to create a Gradient Mesh brush. This method will save your time when you’ll struggle with scales, feathers, fur and hair too. The dragon from below is just one example of creative use of it. Just imagine how long it would take to place all these scales one by one!

sample effect

View the original article here

রবিবার, ২ জুন, ২০১৩

Create detailed tulips with gradient mesh, without the mesh tool in Illustrator

Translate Request has too much data
Parameter name: request
Translate Request has too much data
Parameter name: request

We’re celebrating spring in this tutorial! Here you will learn how to draw beautiful tulips in a vase. We’ll start with a 3D base and then go on to create tulips with Gradient Meshes without the Mesh Tool, all in Adobe Illustrator. So let’s take a closer look.

First, open a new document (File > New) then type a name and select these dimensions.

diana-tut-tulips mesh-1

Grab the Pen Tool (P) and draw a path like below representing half of a flower vase. Make sure that the Rulers are turned on (View > Show Rulers) then drag a guide next to the vase-path. The two end points of the path must be in line with this guide before you continue. Apply a 1px red Stroke Weight.

diana-tut-tulips mesh-2

Having the path selected, go to Effect > 3D > Revolve. Set the position co-ordinates then press the More Options button to view the entire dialog. These are the default values but we will make some changes because the vase doesn’t look quite good at this stage.

diana-tut-tulips mesh-3

First, move the existing light to the right as indicated (L1) and lower the Light Intensity from 100% to 85%. Add another light by pressing on the New Light symbol then move it on the upper left side (L2). Having the second light selected, set the Light Intensity to 70%. Increase the Blend Steps from 25 to 50 to make the surface of the vase smoother.

diana-tut-tulips mesh-4

Take the Ellipse Tool (L) and draw a small 14 x 14px circle. The fill color is not important at this point. Select this circle then go to Effect > Distort & Transform > Transform. In the Move section, under Horizontal type 24px then choose eight copies.

diana-tut-tulips mesh-5

Still having the circle selected, go back to Effect > Distort & Transform > Transform. You will get a warning but select Apply New Effect. This time, under Vertical type 48px and choose only one copy.

diana-tut-tulips mesh-6

Apply again the Transform effect using the settings shown and at this point you should have the three effects in the Appearance panel.

diana-tut-tulips mesh-7

Select Expand Appearance from the Object menu then fill the resulting group of dots with the color indicated. Drag the group into the Symbols panel to save it.

diana-tut-tulips mesh-8

Now, go back to the vase and open again the 3D Revolve Options window from the Appearance panel then press the Map Art button. Select the dots symbol from the list and apply it on the front surface of the vase. Position the dots as you like then hit OK.

diana-tut-tulips mesh-9

To expand the 3D vase, go to Object > Expand Appearance. Open the resulting group in the Layers panel and navigate through all the parts of the vase. Find the base of the vase and open the group. Select the Clipping path that you will find there then Copy and Paste it in front but drag the copy outside of the group because we don’t want it there.

diana-tut-tulips mesh-10

Move the base-shape made at the previous step in front of the vase then fill it with a linear gradient from black to gray. Set the Blending Mode to Overlay and reduce the Opacity to 75%.

diana-tut-tulips mesh-11

Grab the Ellipse Tool (L) and draw an ellipse over the first light (L1). Fill it with a linear gradient from white to black then go to Effect > Blur > Gaussian Blur and apply a 5.5px Radius. Set the Blending Mode to Screen.

diana-tut-tulips mesh-12

Use the Pen Tool (P) to draw a shape on the left side of the vase as shown below. Fill it with a radial gradient from white to black then apply a 5.5px Gaussian Blur. Change the Blending Mode to Color Dodge and lower the Opacity to 35%.

diana-tut-tulips mesh-13

Draw another shape with the Pen Tool (P) like in the image and fill it with a linear gradient using black and gray shades. Apply a 5px Gaussian Blur then set it to Blending Mode Overlay and reduce the Opacity to 60%.

diana-tut-tulips mesh-14

For the mouth of the vase, draw an ellipse and fill it with the gradient shown. We are done with the vase for the moment.

diana-tut-tulips mesh-15

We will continue with the beautiful tulip. Now, follow the sequence of images and draw some petals similar to the ones from below.

diana-tut-tulips mesh-16

Focus on the first petal and go to Object > Create Gradient Mesh. Select 12 rows and 9 columns then hit OK. At this point you can make a few adjustments like to move some of the anchor points and handles or to move the lines closer to or further from each other. Gradient Mesh is so much easier than the Mesh Tool (U), right?

diana-tut-tulips mesh-17

In terms of coloring, you can see in the image below the "anatomy" of the petal. There are some main areas depending on the shades used like red, salmon and pink. For a little gloss use light pink and as you go towards the bottom of the petal use darker shades of red. Close to the stem is better to use shades of green/brown. All the colors are available in the Swatches panel if you download the Illustrator file.

diana-tut-tulips mesh-18

Continue with the second petal. Go to Object > Create Gradient Mesh and this time select 14 rows and 8 columns. Move some of the points closer to each other as shown below.

diana-tut-tulips mesh-19

The same theory applies here and basically I used the same colors.

diana-tut-tulips mesh-20

The third petal is right between the first two. Select it then create the mesh lines and color the petal as you did before. Use the Illustrator file as a reference if you need it.

diana-tut-tulips mesh-21

At this point you can start to compose the tulip. Only the two small petals in the back are missing.

diana-tut-tulips mesh-22

Focus on the small petal and create the mesh lines then color it using mainly red shades. When you are done, draw with the Pen Tool (P) a thin shape on the left side of the petal. Fill it with the linear gradient shown. Do the same thing for the other small petal or reflect the first one to finish faster.

diana-tut-tulips mesh-23

The tulip is ready and looks like this:

diana-tut-tulips mesh-24

Grab the Rectangle Tool (M) and draw a long rectangle having the dimensions shown. Go to Object > Create Gradient Mesh and select four rows and columns.

diana-tut-tulips mesh-25

Use the Direct Selection Tool (A) to drag a selection over the five points of the second row and move them up as indicated. Now, let’s move on to the coloring and since there aren’t so many shades this time, I’ve shown them below. Take each column separately and color the mesh points.

diana-tut-tulips mesh-26

Here are the rest of the green shades:

diana-tut-tulips mesh-27

In the upper portion of the stem I’ve used green shades along with brown shades. In the lower part we need dark green shades because there the stem goes into the vase. On the right side we have shadow because of the other tulips in the vase therefore the light is in the other. Next, we will distort a little the stem. Drag a selection with the Direct Selection Tool (A) over the first two rows and move them to the left as indicated. Then, select only the five points from the top and move them to the left also. Adjust some of the points and handles if needed.

diana-tut-tulips mesh-28

Attach the stem to the tulip and send it behind. We will continue with the leaf.

diana-tut-tulips mesh-29

Draw an Ellipse (L) having the dimensions shown then go to Object > Create Gradient Mesh and select five rows and seven columns.

diana-tut-tulips mesh-30

We will distort this shape little by little in order to obtain the leaf. Follow the sequence of images and use the Direct Selection Tool (A) to move the points from the bottom left side upwards as indicated (1-3). Next, select all the points from the fourth row and move them a little up (4) then continue to distort the left side of the shape (5).

diana-tut-tulips mesh-31

Select only the first point from the first row and move it in the upper left side as indicated (1). Continue to move the rest of the points from the top, one by one in the left side above the point moved previously (2). The points must be aligned (3) and after you are done, adjust the mesh lines by moving the handles. You will obtain the sharp tip of the leaf (4).

diana-tut-tulips mesh-32

It’s time to color the leaf and you can see below the most important areas. Basically, there are green, dark green and a few brown shades. You can find all the colors in the Swatches panel along with the others. Arrange the leaf behind the stem and the tulip is ready.

diana-tut-tulips mesh-33

Put the beautiful tulip above the vase then make two copies. Arrange the tulips as you wish.

diana-tut-tulips mesh-34

Copy and Paste in front the mouth of the vase (1) then delete the top anchor point (2). Starting from the end points of this path (3) draw a shape with the Pen Tool (P) around the stems and the leaves (4). Set the Stroke to none.

diana-tut-tulips mesh-35

Select the shape from the previous step and all the stems and leaves then go to Object > Clipping Mask > Make. Now, it looks like the tulips actually go into the vase.

diana-tut-tulips mesh-36

Now that the stems and leaves are all together I had to add more shadows and more contrast. Therefore, select some of the mesh points and choose a darker shade of green to add shadows and lighter shades of green for more light. Draw with the Pen Tool (P) a shape like below over the base of the tulips and fill it with a linear gradient from white to black. Change the Blending Mode to Multiply and lower the Opacity to 50%. This will also add a discreet shadow.

diana-tut-tulips mesh-37

We need some shadow behind the tulips also. Take the Ellipse Tool (L) and draw two flat ellipses following the edge of the vase. Send the ellipses behind the tulips but in front of the vase. Fill them with a radial gradient from black to white and set them to Multiply.

diana-tut-tulips mesh-38

At this step the tulips and the vase should look like in the next image:

diana-tut-tulips mesh-39

To create the shadow under the vase, draw the two ellipses having the dimensions shown. Fill them both with black and set the Opacity values as indicated for each one. Select them both then go to Object > Blend > Blend Options. Choose 50 Specified Steps and hit OK then go back to Object > Blend and select Make. Reduce the Opacity for the resulting blend-group to 35%.

diana-tut-tulips mesh-40

Here is how you can easily make the reflection. Make a copy of the vase and flip it vertically (1). Arrange it like in the image then draw a rectangle over it and fill it with the gradient shown (2). Now, select the copy of the vase and also the rectangle, go to the Transparency panel and from the fly-out menu choose Make Opacity Mask (3). That’s it!

diana-tut-tulips mesh-41

We got to the end and this is the final image. I hope that you will use more the Gradient Mesh from now on since it’s so much easier than the Mesh Tool. I know that the coloring part seems overwhelming and I admit that I hated these two tools in the beginning but now we are best friends. Give them a try and create even other types of tulips like yellow or purple. You can also create other models of vases having this technique as inspiration.

diana-tut-tulips mesh-final

View the original article here