Use a lens with the out-of-focus characteristics you want to include. Some lenses are regarded as having better bokeh than others, there are certain design elements that work towards this.
But I wonder from the second part of the question if you mean bokeh, or bokeh balls.
the more Aperture blades your lens has the rounder the Bokeh will be less blades and they will appear more hexagonal. Shoot at wide apertures I think this was shot at f2 with a 50mm f1.4 http://www.flickr.com/photos/pablo_paul/6904107009/
To
Use a longer focal length and open the aperture. Stand back from the subject and get some distance between it and the background.
This is very similar, taken with the sun in the background through trees, a bit of exposure allowance, taken with a 70 - 210 F4 at around twenty feet.
![]()


You do not see a lot of them these days,but mirror lenses had a typical doughnut shape.
As Alastair and Pablo have said, certain lenses have very distinctive characteristics on OOF backgrounds. Some produce nice round circles, some very small, harsh shapes. Then you have the lighting conditions, and this is just a personal thing, but I prefer quite harsh sunlight which has been partially shielded to produce a pleasing bokeh. Others may have their own ideas.
A lot of this is just down to practice.
This lens has 20 blades, wide open it produces perfect discs but I'm not sure the bokeh is all that, so perfect disks and perfect bokeh don't always go hand in hand, there's a lot more to it than a high blade count..
![]()
Agree with joxby, a higher blade count will just mean any highlights present in the out of focus areas will be nice and round.
Some of my old film cameras give square bokeh, as the lens only had two aperture blades!
To sum up:
Lens - the longest you have. I'd say a minimum of 50mm.
Aperture - the widest it will go
Distance from camera to the subject - as short as you can get it
Distance from the subject to things in the background - as far as you can get it.
The closer the subject you're focussing on, the softer and blurrier the background will be. The further away the background, the even more softer and blurrier it will be.
A simple way of seeing how the bokeh of a lens is, is to put it into manual focus and set it so that it's at its closest focussing. Then point the camera in the direction of some lights that are a fair distance away, and they should appear as nice soft circles.
Don't be worrying about the number or shape of aperture blades. Pentagonal bokeh is just as cool as round bokeh (and there are tricks you can use to make cross shaped bokeh, or heart shaped bokeh, but that's for another day).
