Planning and selection guides

Check that a colored wheel points to the announced option

·

A project team wants to choose the next task during a standup. Display three recognizable sector colors and check that the fixed arrow identifies the same task as the text result.

Random Picker Wheel

Build a wheel with three 120-degree sectors

Select Load example. The options are Blueprint, Material test and Field notes. The wheel starts with one sector per row. Each covers 120 degrees, one third of the circle.

Open Color for option 2 and select a new color for Material test. The middle option changes color and stays the same size. Leaving the other two colors distinct makes the result easy to identify across the table.

W3C CSS Images Level 4, Conic GradientsAback Tools Random Picker Wheel

Match the fixed pointer to the selected option

Select Spin the wheel. After the wheel stops, follow the dark arrow to the center of a sector. If the arrow points to Material test, the Selected option text reads Material test and the result swatch uses its current color.

Find the latest result under Spin history below the wheel. The draw uses the browser's random source. The animation moves the selected sector under the pointer. With your system's reduced-motion preference enabled, the wheel moves directly to that final position.

W3C Web Cryptography API, getRandomValuesW3C Media Queries Level 5, prefers-reduced-motion

Add a fourth option and compare the sectors

Type Photo review into New wheel option and select Add option. There are now four 90-degree sectors. Each option has one chance in four on the next spin.

Remove Photo review to return to three equal sectors. Clear history keeps the options you set up. Reset wheel restores the starting four options and clears previous spins.

W3C CSS Images Level 4, Conic Gradients

Common questions

Can a sector win twice in a row?

Yes. Each spin chooses from all current options. Remove a winning row before the next spin if you want to exclude it from that draw.

Where are full labels on a wheel with many options?

The editor and result show the full labels, including when the wheel has too many sectors to label them legibly.

Sources

Put it into practice.

Related guides