Wszystkie wpisy, których autorem jest admin

How to Draw an Apple

Post pobrano z: How to Draw an Apple

Final product image
What You’ll Be Creating

In this short tutorial, I’ll show you how to draw an apple. We’ll create two illustrations: one of a whole fruit and one of an apple cut in half.

Drawing an apple is an excellent opportunity to practice your shading skills. We’ll be using a graphite pencil and ink liners; these tools are a great choice for quick sketching exercises.

What You Will Need

  • an ink liner number 0.3
  • an ink liner number 0.1
  • an ink liner number 0.05
  • a graphite pencil (I recommend using an HB or B type)
  • a sheet of thick drawing paper
Art supplies I will be using

1. How to Draw an Apple

Step 1

I draw a rounded shape, using a graphite pencil. This shape doesn’t have to be perfectly symmetrical, so I make it taper towards the bottom.

Drawing a rough shape for the apple

Step 2

I slightly refine this shape and add a hollow with a stem.

Refining the apple drawing

Step 3

I add rounded ink hatches that repeat the contours of the apple. The 0.05 ink liner is an excellent tool for that.

I leave a thin line of the reflected light near the contour; without it, the shape will look flat. 

Adding the first layer of hatching

Step 4

I add more hatches to the bottom part of the fruit, using the 0.05 liner.

Adding new hatches

Step 5

With the 0.05 liner, I create an additional layer of hatching that crosses the existing lines.

Adding the cross-hatching

Step 6

I add some vertical hatches, using the 0.05 ink liner. Please note that the lines should conform to the contours of the object.

I also leave two spots of reflected light on the top of the apple.

Adding the vertical hatching

Step 7

With the 0.05 liner, I accentuate the three-dimensional look of the apple, applying long hatches to its sides. 

These lines are thicker, so it’s simple to increase the contrast in our drawing in no time.

Adding hatching to the sides of the apple

Step 8

With the 0.1 liner, I continue working on the core shadows, adding groups of rounded hatches to the sides of the apple.

Strengthen the core shadows

Step 9

I darken the lower part of the apple even more, applying thin, rounded hatches with the 0.05 ink liner.

Darkening the apple

Step 10

I tone down the highlights in the upper part of the object, using the 0.05 ink liner.

Working on the upper part of the drawing

Step 11

With the 0.1 liner, I create a drop shadow under the apple.

Drawing a drop shadow

Step 12

To make the texture of the apple more interesting, I add dots with the 0.3 liner in a random order.

Adding ink dots

2. How to Draw a Half of an Apple

Step 1

I draw a core line and add two halves of a distinctive apple-like form, using a graphite pencil. There is no need to make the shapes identical; let them be slightly different.

Sketching the core line and rough contours

Step 2

I mark the skin of the apple and add a long shape for the stem.

Refining the shape

Step 3

I refine the relief of the central part of the apple’s half.

Drawing the central part of the apple

Step 4

I add two seeds to the core of the apple. This pencil sketch is ready for inking!

Drawing seeds

Step 5

I outline the main contours of the objects, using the 0.3 ink liner.

Creating the contours

Step 6

With the 0.3 liner, I add groups of short hatches to the stem and darken the seeds.

Working on the stem and seeds

Step 7

I work on the central part of the apple, accentuating the shadows with groups of thin hatches. The 0.05 ink liner is a great tool for that.

Refining the central part

Step 8

I add thin hatches to the inner boundary of the object, using the 0.05 ink liner.

Adding hathing to the inner part of the apple

Step 9

I work on the inner texture of the apple. I draw small circles and dots, using the 0.05 liner.

Drawing the texture of the apple

Step 10

As a finishing touch, I add some bigger dots to the apple’s texture, using the 0.3 liner.

Completing the artwork

Your Artwork Is Complete!

Congratulations! Now you know how to draw beautiful, realistic apples. I hope enjoyed both the process and the result!

How to Draw an Apple Tutorial

Design deals for the week

Post pobrano z: Design deals for the week
first image of the post

Every week, we’ll give you an overview of the best deals for designers, make sure you don’t miss any by subscribing to our deals feed. You can also follow the recently launched website Type Deals if you are looking for free fonts or font deals.

25% off the Toffee range + free worldwide delivery (over $75 USD)

Toffee’s range of high quality bags and lifestyle accessories are purposefully designed to take care of your essentials, with plenty of clever, thoughtful touches making them perfect for the modern creative professional.

Get 25% OFF the entire Toffee range. Use coupon code: DESIGNER at checkout.

The Delightful Font Bundle

The Delightful Font Bundle is here! Jam packed with 30 fonts from 19 different font families all for JUST $19. The fully accessible craft friendly fonts come with extra’s, swirls and swashes and all included in the price.

$19 instead of $246 – Get it now!

Americana Script-Inspired UT Triumph Font Family

If classic Americana scripts are your thing, then you need to meet the UT Triumph Font Family. Made up of 3 unique weights, this professional script font also features a shadow layer for each, resulting in 6 total fonts. With loads of OpenType features, you’ll have the perfect typeface for everything from menus to logos.

$15 instead of $71 – Get it now!

Julia Dreams Bundle of 7500+ Professional Graphics

More than 7,500 different graphic elements including illustrations, watercolors, textures, fonts, patterns and more. From food to holidays, this bundle has you covered for whatever project you’re currently undertaking.

$12 instead of $2685 – Get it now!

Smartmockups App: The #1 Tool for Creating Stunning Marketing Images

The Smartmockups App gives you the power to create stunning marketing materials, even if you’re not a skilled designer and with the brand new version of this amazing app (for both Window and Mac), you can enjoy over 400 professional templates for your digital and print projects at one place!

$19 instead of $49 – Get it now!

Enter the 2017 Taiwan International Student Design Competition

Post pobrano z: Enter the 2017 Taiwan International Student Design Competition
first image of the post

This year again, TISDC (Taiwan International Student Design Competition) launches its design student competition, the largest in the world. In 2016, the TISDC attracted students from 882 schools in 69 countries joined the competition. A new record was broken with a total number of 14’858 registrations.

The event, organized by the Taiwan Ministry of Education, executed by Asia University, and sponsored by Sayling Wen Cultural & Educational Foundation and iSee Taiwan Foundation, is in its 9th year of existence.

Theme of the 2017 edition: Opportunity

This year, the participating design students will have to tackle a broad subject: Opportunity. A challenging topic that can be approached through the four categories of the contest: Product Design, Visual Design, Digital Animation, and Brand Specified.

There is a Grand Prix for the overall winner, but also 1 Gold Prize, 1 Silver Prize, and 3 Bronze Prizes for each category of the competition. These prizes are sponsored by Sayling Wen Cultural & Educational Foundation, and there are 15 other special prizes endorsed by international design associations. The total Prize Money is up to the stunning amount of $160,000.

Enter the competition!

For more info and participation (no registration fee), please visit: www.tisdc.org

 

Elegant and clever packaging design for Japanese Maekake aprons

Post pobrano z: Elegant and clever packaging design for Japanese Maekake aprons
first image of the post

In many Japanese stores like rice or miso shops, you could find that the people working traditionally wear a special type of apron, these are called Maekake. For their apron packaging, Anything, a company established in Japan, hired Nosigner to design a creative packaging. The designers made a tremendous job of creating a reference to the product in the packaging.

Why Use a Third-Party Form Validation Library?

Post pobrano z: Why Use a Third-Party Form Validation Library?

We’ve just wrapped up a great series of posts from Chris Ferdinandi on modern form validation. It starts here. These days, browsers have quite a few built-in tools for handling form validation including HTML attributes that can do quite a bit on their own, and a JavaScript API that can do even more. Chris even showed us that with a litttttle bit more work we can get down to IE 9 support with ideal UX.

So what’s up with third-party form validation libraries? Why would you use a library for something you can get for free?

You need deeper browser support.

All „modern” browsers + IE 9 down is pretty good, especially when you’ve accounted for cross-browser differences nicely as Chris did. But it’s not inconcievable that you need to go even deeper.

Libraries like Parsley go down a smidge further, to IE 8.

You’re using a JavaScript framework that doesn’t want you touching the DOM yourself.

When you’re working with a framework like React, you aren’t really attaching event handlers or inserting anything into the DOM manually at all. You might be passing values to a form element via props and setting error data in state.

You can absolutely do all that with native form validation and native constraint validation, but it also makes sense why you might reach for an add-on designed for that. You might reach for a package like react-validation that helps out in that world. Or Formik, which looks to be built just for this kind of thing:

Likewise, there is:

The hope is that these libraries are nice and lightweight because the take advantage of the native API’s when they can. I’ll leave that to you to look into when you need to reach for this kind of thing.

You’re compelled by the API.

One of the major reasons any framework enjoys success is because of API nicety. If it makes your code easy to understand and work on, that’s a big deal.

Sometimes the nicest JavaScript API’s start with HTML attributes for activation and configuration. Remember that native HTML constraint validation is all about HTML attributes controlling form validation, so ideally any third-party form validation library would use them in the spirit of progressive enhancement.

You’re compelled by the integrations.

They promised you it „Works with Bootstrap!” and your project uses Bootstrap, so that seemed like a good fit. I get it, but this is my least favorite reason. In this context, the only thing Bootstrap would care about is a handful of class names and where you stick the divs.

It validates more than the browser offers.

The browser can validate if an email address is technically valid, but not if it bounces or not. The browser can validate if a zip code looks like a real zip code, but not if it actually exists or not. The browser can validate if a URL is a proper URL, but not if it resolves or not. A third-party lib could potentially do stuff like this.

You’re compelled by fancy features.

  • Perhaps the library offers a feature where when there is an error, it scrolls the form to that first error.
  • Perhaps the library offers a captcha feature, which is a related concept to form validation, and you need it.
  • Perhaps the library offers an event system that you like. It publishes events when certain things happen on the form, and that’s useful to you.
  • Perhaps the library not only validates the form, but creates a summary of all the errors to show the user.

These things are a little above and beyond straight up form validation. You could do all of this with native validation, but I could see how this would drive appoption of a third-party library.

You need translation.

Native browser validation messages (the default kind that come with the HTML attributes) are in the language that browser is in. So the French version of Firefox spits out messages in French, despite the language of the page itself:

Third-party form validation libraries can ship with language packs that help with this. FormValidation is an example.

Conclusion

I’m not recommending a form validation library. In fact, if anything, the opposite.

I imagine that third-party form validation libraries are going to fall away a bit as browser support and UX gets better and better for the native APIs.

Or (and I imagine many already do this), internally they start using native APIs more and more, then offer nice features on top of the validation itself.


Why Use a Third-Party Form Validation Library? is a post from CSS-Tricks

CSS is Awesome

Post pobrano z: CSS is Awesome

I bought this mug recently for use at work. Being a professional web developer, I decided it would establish me as the office’s king of irony. The joke on it isn’t unique, of course. I’ve seen it everywhere from t-shirts to conference presentations.

Most of you reading this have probably encountered this image at least once. It’s a joke we can all relate to, right? You try and do something simple with CSS, and the arcane ways in which even basic properties interact inevitably borks it up.

If this joke epitomizes the collective frustration that developers have with CSS, then at the risk of ruining the fun, I thought it would be interesting to dissect the bug at its heart, as a case study in why people get frustrated with CSS.

The problem

See the Pen CSS is Awesome by Brandon (@brundolf) on CodePen.

There are three conditions that have to be met for this problem to occur:

  • The content can’t shrink to fit the container
  • The container can’t expand to fit the content
  • The container doesn’t handle overflow gracefully

In real-world scenarios, the second condition is most likely the thing that needs to be fixed, but we’ll explore all three.

Fixing the content size

This is little bit unfair to the box’s content because the word AWESOME can’t fit on one line at the given font size and container width. By default, text wraps at white space and doesn’t break up words. But let’s assume for a moment that we absolutely cannot afford to change the container’s size. Perhaps, for instance, the text is a blown-up header on a site that’s being viewed on an especially small phone.

Breaking up words

To get a continuous word to wrap, we have to use the CSS property word-break. Setting it to break-all will instruct the browser to break up words if necessary to wrap text content within its container.

See the Pen CSS is Awesome: word-break by Brandon (@brundolf) on CodePen.

Other content

In this case, the only way to make the content more responsive was to enable word breaking. But there are other kinds of content that might be overflowing. If word-wrap were set to nowrap, the text wouldn’t even wrap in-between words. Or, the content could be a block-level element, whose width or min-width is set to be greater than the container’s width.

Fixing the container size

There are many possible ways the container element might have been forced to not grow. For example: width, max-width, and flex. But the thing they all have in common, is that the width is being determined by something other than its content. This isn’t inherently bad, especially since there is no fixed height, which in most cases would cause the content to simply expand downwards. But if you run into a variation on this situation, it’s worth considering whether you really need to be controlling the width, or whether it can be left up to the page to determine.

Alternatives to setting width

More often than not, if you set an element’s width, and you set it in pixels, you really meant to set either min-width or max-width. Ask yourself what you really care about. Was this element disappearing entirely when it lacked content because it shrunk to a width of 0? Set min-width, so that it has dimension but still has room to grow. Was it getting so wide that a whole paragraph fit on one line and was hard to read? Set max-width, so it won’t go beyond a certain limit, but also won’t extend beyond the edge of the screen on small devices. CSS is like an assistant: you want to guide it, not dictate its every move.

Overflow caused by flexbox

If one of your flex items has overflowing content, things get a little more complicated. The first thing you can do is check if you’re specifying its width, as in the previous section. If you aren’t, probably what’s happening is the element is „flex-shrinking”. Flex items first get sized following the normal rules; width, content, etc. The resulting size is called their flex-basis (which can also be set explicitly with a property of the same name). After establishing the flex basis for each item, flex-grow and flex-shrink are applied (or flex, which specifies both at once). The items grow and shrink in a weighted way, based on these two values and the container’s size.

Setting flex-shrink: 0 will instruct the browser that this item should never get smaller than its flex basis. If the flex basis is determined by content (the default), this should solve your problem. be careful with this, though. You could end up running into the same problem again in the element’s parent. If this flex item refuses to shrink, even when the flex container is smaller than it, it’ll overflow and you’re back to square one.

Handling overflow

Sometimes there’s just no way around it. Maybe the container width is limited by the screen size itself. Maybe the content is a table of data, with rows that can’t be wrapped and columns that can’t be collapsed any further. We can still handle the overflow more gracefully than just having it spill out wherever.

overflow: hidden;

The most straightforward solution is to hide the content that’s overflowing. Setting overflow: hidden; will simply cut things off where they reach the border of the container element. If the content is of a more aesthetic nature and doesn’t include critical info, this might be acceptable.

See the Pen CSS is Awesome: overflow:hidden by Brandon (@brundolf) on CodePen.

If the content is text, we can make this a little more visually appealing by adding text-overflow: ellipsis;, which automatically adds a nice little „…” to text that gets cut off. It is worth noting, though, that you’ll see slightly less of the actual content to make room for the ellipsis. Also note that this requires overflow: hidden; to be set.

See the Pen CSS is Awesome: ellipsis by Brandon (@brundolf) on CodePen.

overflow: auto;

The preferable remedy is usually going to be setting overflow-x: auto;. This gives the browser the go-ahead to add a scroll bar if the content overflows, allowing the user to scroll the container in that direction.

See the Pen CSS is Awesome: overflow:auto by Brandon (@brundolf) on CodePen.

This is a particularly graceful fallback, because it means that no matter what, the user will be able to access all of the content. Plus, the scrollbar will only appear if it’s needed, which means it’s not a bad idea to add this property in key places, even if you don’t expect it to come into play.

Why does this conundrum resonate so universally with people who have used CSS?

CSS is hard because its properties interact, often in unexpected ways. Because when you set one of them, you’re never just setting that one thing. That one thing combines and bounces off of and contradicts with a dozen other things, including default things that you never actually set yourself.

One rule of thumb for mitigating this is, never be more explicit than you need to be. Web pages are responsive by default. Writing good CSS means leveraging that fact instead of overriding it. Use percentages or viewport units instead of a media query if possible. Use min-width instead of width where you can. Think in terms of rules, in terms of what you really mean to say, instead of just adding properties until things look right. Try to get a feel for how the browser resolves layout and sizing, and make your changes and additions on top of that judiciously. Work with CSS, instead of against it.

Another rule of thumb is to let either width or height be determined by content. In this case, that wasn’t enough, but in most cases, it will be. Give things an avenue for expansion. When you’re setting rules for how your elements get sized, especially if those elements will contain text content, think through the edge cases. „What if this content was pared down to a single character? What if this content expanded to be three paragraphs? It might not look great, but would my layout be totally broken?”

CSS is weird. It’s unlike any other code, and that makes a lot of programmers uncomfortable. But used wisely it can, in fact, be awesome.


CSS is Awesome is a post from CSS-Tricks

Gorgeous Wood And Resin Rings by Enchanted Soul

Post pobrano z: Gorgeous Wood And Resin Rings by Enchanted Soul
first image of the post

If you are looking for a truly unique ring, you should pay attention to this cool Kickstarter projet by Enchanted Soul. The project owner can already rejoice, because its Kickstarter was funding within two days, and still progressing.

The project started out of frustration when purchasing a wooden ring that wasn’t as good as advertised online. Challenge was taken to create a better quality ring, which was achieved very well. You can see the results on the Kickstarter page here.