# Atmospheric Effects

## version 6/080508 by Mikael Segercrantz

**Section 7(a)4 - The smallest unshown region**

To decide which region is the smallest unshown region:

let final region be the empty region;

repeat with r running through regions:

if final region is the empty region:

if in r:

if isshown of r is unshown:

let final region be r;

repeat through the Table of Atmospheric Definition:

if the loci entry is r and the ignoring entry is ignore:

let final region be r;

repeat with r running through regions:

if in r:

if r is in the final region:

if isshown of r is unshown:

let final region be r;

repeat through the Table of Atmospheric Definition:

if the loci entry is r and the ignoring entry is ignore:

let final region be r;

if isshown of the final region is already shown:

let final region be the empty region;

decide on the final region.