- [Voiceover] In this movie,
I'll show you how to alternate the
colors of repeated objects.
Specifically in this case, the petals.
Alright, so I'll go ahead and switch
over to our document so far,
and click anywhere inside of it
in order to select that central circle.
And then what you want to do is
click on the existing fill,
and then click on the little page icon
in the bottom right corner of the
appearance panel in order to make an exact copy of it,
including the dynamic effects.
Alright, I'll go ahead and twirl the bottom copy closed,
and I'll bring up my gradient panel,
but I don't need it to be this big.
So I'll go ahead and click on the
double arrow icon in order to reduce
it down to just the gradient slider.
And then I'll grab this swatch right here,
this dark blue one that's R0G0B77,
and drag it and drop it onto the dark purple,
and then I'll grab the lighter blue
and you can see it's values there,
and I'll drag it and drop it onto the
lighter purple at the end of the gradient like so.
Alright, now what you want to do
is click on the word transform
in order to bring up the transform dialog box.
Turn on the preview check box
and then click on the copies value and
take that values down until you've
exposed some purple petals in the background.
I just happened to like 18 copies
at which point I'll click okay.
Alright, now I'll create a copy of
this guy by selecting the fill.
Very important you select the fill by the way
and not the transform effect,
because if a dynamic effect is selected
and you click in the little page icon,
you'll duplicate it which we don't want to do of course.
So select the entire fill.
Then click on the little page icon
and let's grab the shades of orange
including R191, G48B0,
drag it and drop it onto the darker blue,
and then grab this much lighter orange
which is R255, G170, B0,
and drag it and drop it onto the lighter blue
and you end up with this effect here,
at which point click on the word transform,
turn on the preview check box,
click inside the copies value,
and take it down to something that looks good.
I like 15 copies.
Alright, now click okay.
And I'm gonna grab both of the
most recent fills there by clicking in
this top one and shift clicking on the blue one,
and that way when you click on the page icon,
you'll duplicate both of them as we're seeing here.
Turn off the top fill for a moment.
Twirl open the blue fill right there,
and go ahead and click on it's transform.
Turn on the preview check box,
and I'm just gonna dial in a value of 12 copies,
and click okay.
And now I'll close it and then
turn on the top orange fill.
Click on the word transform for it.
Take the value down to eight copies this time around,
and turn on the preview check box.
And I just kept going.
I'll go ahead and zoom in here
so I can see what I'm doing and
I'll select that top fill and shift click
on the blue fill below it.
Click on the little page icon
to make duplicates of both of them.
As we're seeing here.
Turn off the top orange fill.
Twirl open the top blue fill.
Click on the word transform for it.
Set the copies to five this time around
and turn on the preview check box,
and we'll end up with this effect.
Then click okay and go ahead and
turn on this yellow fill right there.
Click on it's transform and change the
number of copies for it to 2.
Turn on the preview check box
and we end up with this effect.
At which point I'll click okay.
All right now you can even create
some kind of gradients in between these petals if you like.
So for example I'll go ahead and
twirl closed that blue fill right there,
and I'll leave the yellow one expanded,
and I'll create another copy of it
by clicking on the little page icon.
I'm gonna twirl that top one closed,
and I'm gonna twirl that middle one right there open,
and I'm gonna click on the word transform
and change the number of copies to three this time,
and turn on the preview check box.
You can see that's going to add
some yellow petals right there.
At which point I'll click okay.
And now I'll click on the field to select it
and I'll go ahead and replace the colors
in the gradient slider by taking
this bright orange R255 G170 B0,
and dragging and dropping it onto the
dark orange like so and that's going to cause
this gradient to start right there bright yellow,
and then we'll replace the last color with that bright blue
which is R0 G64 B255 like so.
Just with the drag and drop and we
end up with this transitional effect here.
Alright now let's say you want to
create a kind of center ornament.
Well because we have a couple of dynamic effects,
transform and pucker and bloat,
associated with this path outline,
I'm gonna have to do that using a separate path.
As opposed to heaping on more fills
and you can do that by switching back to the layers panel,
turning on the guides layer once again,
so you can see where the center of the document is,
then go ahead and grab your ellipse tool.
I'm going to press control U or command U
on the Mac to turn my smart guides back on.
Then I will press the ALT key or the option key on the Mac,
and click at the intersection of those two guides.
Create a new ellipse that matches
those exact same dimensions.
That is 33 by 33 points.
Click okay.
And we want to fill it with a different
kind of gradient this time.
It's still going to be a radial gradient,
as we're seeing right here,
but I want the end color to be
this bright shade of orange.
I want the beginning color to be
this darker shade of orange.
So we're working with that standard gradient,
but then I want the very first
color all the way over on the left hand side here
to be this very bright yellow which is R255 G213 B0.
So go ahead and drag it and drop it
to the beginning of the gradient like so.
Alright now we want to go ahead and
switch to the gradient tool.
Which of course you can get by pressing the G key
and I'm gonna zoom in here
and you may find Illustrator to be
a tad bit sluggish at this point
because it's trying to balance a lot
of things at the same time.
I'll move my cursor over to
the right of the gradient annotator.
So I see my rotate cursor
and then I'll just go ahead and drag it clockwise
to this position here while pressing the shift key
to constrain the angle of my drag
to the nearest 45 degree,
and then I'll go ahead and drag the big circle,
not the little one but the big circle,
although quite frankly you can go your own way
until I move the actual gradient inside the circle
to about this position here
and now I'll drag the square that
represents the end of the gradient
down and to the left in order to
make it nice and big like so.
Alright now I'm gonna press the V key to
switch away from the gradient tool
and I'm also going to turn off that guides layer,
and I'll go ahead and press control U
or command U on the Mac to turn off the smart guides
because otherwise it's going to interfere
with our view of what's going on.
And then I'll switch back to the appearance panel,
I'll click on the fill right there
and you want to make a duplicate of it
by clicking on the little page icon
at the bottom of the dialog box
and with that new fill selected,
go up to the effect menu,
choose distort and transform,
and choose the transform command.
And then I'm just going to reduce both
the horizontal and vertical scale values to 70%
and then I'll turn on the preview check box,
so we can see what's going on.
And we get this effect here,
which I quite like so I'll go ahead and click okay.
Now you might say hey Deek,
why did you do it that way.
Why didn't you just apply transform to the
original fill and then create a copy.
Well let me show you what happens.
I'll go ahead and hide that top fill.
I'll select the bottom one,
and then I will repeat that effect
by going to the effect menu and choosing transform...
So the second command.
And as you can see I have horizontal
and vertical set to 70%.
If I turn on the preview check box,
of course I reduce the size of the original,
but then if I click in the copies value
and take it up to one this is what happens.
The copy appears in the background.
It appears in back of the original.
That's the way it always is with the transform effect,
which is why I chose the other approach.
Alright I'm gonna cancel out.
Turn that other fill back on
and then with the top fill selected,
I'll click on the little page icon
to create a copy of it.
Then I'll twirl open that fill,
and I'll click on the word transform,
and this time around I'll change both
of the scale values to 40%,
turn on the preview check box,
love it,
click okay.
The deed is done.
After which point I'll press control shift A
or command shift A on the Mac
and or to deselect my artwork.
Here's how it looks complete with that
center ornament up close and personal,
and here's how it looks if I zoom out
by pressing control 0 or command 0 on the Mac.
And that's how you alternate the colors
of dynamically repeating objects,
whether petals or otherwise, here inside Illustrator.