ArticleslgStudy

computer science

Spinning pinwheel

Spinning pinwheel is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Spinning pinwheel rather than just read about it. In short: The spinning pinwheel is a type of progress indicator and a variation of the mouse pointer used in Apple's macOS to indicate that an application is busy. Officially, the macOS Human Interface Guidelines refer to it as the spinning wait cursor, but it is also known by other names.

Spinning pinwheel — main illustration
Spinning pinwheel — illustration

Key takeaways

  • Spinning pinwheel belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Spinning pinwheel to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Spinning pinwheel from memory before moving on to harder problems.

Reference excerpt

The spinning pinwheel is a type of progress indicator and a variation of the mouse pointer used in Apple's macOS to indicate that an application is busy. Officially, the macOS Human Interface Guidelines refer to it as the spinning wait cursor, but it is also known by other names. These include, but are not limited to, the spinning beach ball, the spinning wheel of death, and the spinning beach ball of death.

History A wristwatch was used as the first wait cursor in early versions of the classic Mac OS. Apple's HyperCard first popularized animated cursors, including a black-and-white spinning quartered circle resembling a beach ball. The beach-ball cursor was also adopted to indicate running script code in the HyperTalk-like AppleScript. The cursors could be advanced by repeated HyperTalk invocations of "set cursor to busy". Wait cursors are activated by applications performing lengthy operations. Some versions of the Apple Installer used an animated "counting hand" cursor. Other applications provided their own theme-appropriate custom cursors, such as a revolving Yin Yang symbol, Fetch's running dog, Retrospect's spinning tape, and Pro Tools' tapping fingers. Apple provided the standard interfaces for animating cursors: originally the Cursor Utilities (SpinCursor, RotateCursor) and, in Mac OS 8 and later, the Appearance Manager (SetAnimatedThemeCursor).

From NeXT Step to MacOS X

NeXTStep 1.0 used a monochrome icon resembling a spinning magneto-optical disk. Some NeXT computers included an optical drive, which was often slower than a magnetic hard drive. This made it a common reason for the wait cursor to appear.

When color support was added in NeXTStep 2.0, color versions of all icons were added. The wait cursor was updated to reflect the bright rainbow surface of these removable disks, and that icon remained, even when later machines began using hard disk drives as primary storage. Contemporary CD-ROM drives were even slower (at 1x, 150 kbit/s).

With the arrival of Mac OS X, the wait cursor was often called the "spinning beach ball" in the press, presumably by authors not knowing its NeXT history or relating it to the HyperCard wait cursor. The two-dimensional appearance was kept essentially unchanged from NeXT to Rhapsody/Mac OS X Server 1.0 which otherwise had a user interface design resembling Mac OS 8/Platinum theme. This continued through Mac OS X 10.0/Cheetah and Mac OS X 10.1/Puma, which introduced the Aqua user interface theme. Mac OS X 10.2/Jaguar gave the cursor a glossy rounded "gumdrop" look in keeping with other OS X interface elements. In OS X 10.10, the entire pinwheel rotates (previously only the overlaying translucent layer moved). With OS X 10.11 El Capitan the spinning wait-cursor's design was updated. It now has less shadowing and has brighter, more solid colors to better match the design of the user interface and the colors also turn with the spinning, not just the texture.

System usage In single-task operating systems like the original Macintosh operating system, the wait cursor might indicate that the computer was completely unresponsive to user input, or just indicate that response may temporarily be slower than usual due to disk access. This changed with multitasking operating systems such as System Software 5, where it is possible to switch to another application and continue to work there. Individual applications could also choose to display the wait cursor during long operations (and were often able to cancel this display with a keyboard command). After the transition to Mac OS X (macOS), the display of the wait cursor was only able to be controlled by the operating system, not by the application. This could indicate that the application was in an infinite loop, or just performing a lengthy operation and ignoring events. Each application has an event queue that receives events from the operating system (for example, key presses and mouse button clicks); and if an application takes longer than 2 seconds to process the events in its event queue (regardless of the cause), the operating system displays the wait cursor whenever the cursor hovers over that application's windows. The icon is meant to indicate that the application is temporarily unresponsive, a state from which it should recover. It may also indicate that all or part of the application has entered an unrecoverable state or an infinite loop. During this time the user may be prevented from closing, resizing, or even minimizing the windows of the affected application (although moving the window is still possible in OS X, as well as previously hidden parts of the window which are usually redrawn, even when the application is otherwise unresponsive). While one application is unresponsive, typically other applications are usable. A file system and network delays are another common cause.

Guidelines, tools and methods for developers By default, events (and any actions they initiate) are processed sequentially, intended to limit the trivial amount of processing from each event. The spinning wait cursor will appear until the operation is complete. If the operation takes too long, the application will appear unresponsive. Developers may prevent this by using separate threads for lengthy processing, allowing the application's main thread to continue responding to external events. However, this greatly increases the application's complexity. Another approach is to divide the work into smaller packets and use NSRunLoop or Grand Central Dispatch.

… excerpt ends here. Continue reading the full article.

Illustrations

Spinning pinwheel: Spinning Wait Cursor as seen in OS X El Capitan
Spinning Wait Cursor as seen in OS X El Capitan
Spinning pinwheel: Mac OS X (24 bit)
Mac OS X (24 bit)

Worked examples

Example 1 — a first encounter with Spinning pinwheel

Start with the simplest possible case. Write down what Spinning pinwheel claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Spinning pinwheel before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Spinning pinwheel ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Spinning pinwheel

In research
Spinning pinwheel appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Spinning pinwheel in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Spinning pinwheel is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer errors, MacOS, so understanding it makes those chapters shorter.
In everyday life
Look for Spinning pinwheel outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Spinning pinwheel” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Spinning pinwheel in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Spinning pinwheel means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Spinning pinwheel out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Spinning pinwheel in simple terms?

The spinning pinwheel is a type of progress indicator and a variation of the mouse pointer used in Apple's macOS to indicate that an application is busy. Officially, the macOS Human Interface Guidelines refer to it as the spinning wait cursor, but it is also known by other names.

Why does Spinning pinwheel matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Spinning pinwheel?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Spinning pinwheel.

Tags

  • Computer errors
  • MacOS

Keep exploring