↓ SCROLL DOWN FOR MORE ↓

The Perfect Line — Test Your Mouse Drawing Accuracy

A hyper-casual browser game powered by real mathematics. Free to play. No downloads.

How to Play "The Perfect Line"

The Perfect Line is a hyper-casual browser game designed to test your mouse control and hand-eye coordination. Simply click on the starting point (the green A dot) and drag your cursor to the destination (the red B dot) in the straightest line possible. Our algorithm calculates your accuracy in real-time and displays a percentage score the moment you release the mouse button.

The two points are randomly placed each round, so no two games are the same. The further apart the points, the harder it becomes to maintain a perfectly straight trajectory. Can you score above 99%? Only the steadiest hands make it to the global leaderboard.

Controls: Click & drag on desktop, or touch & drag on mobile. The game works on any modern browser — Chrome, Firefox, Safari, and Edge — without any plugins or downloads required.

The Science and Math Behind the Accuracy Score

How do we calculate your score? We use the mathematical formula for the distance between a point and a line. When you start drawing, the game defines the ideal straight line between point A and point B using the standard two-point line equation. As you drag, every sampled position of your cursor is measured against this ideal line using the perpendicular distance formula:

d = |Ax₁ + By₁ + C| / √(A² + B²)

where A, B, and C are the coefficients of the ideal line equation, and (x₁, y₁) is each sampled cursor point. All deviations are averaged and normalized against the total length of the line to produce a deviation ratio. The final accuracy score is (1 − deviation_ratio) × 100, clamped between 0 and 100 percent.

It's not just a game — it's a quantitative test of human motor control. Research in motor neuroscience shows that drawing a straight line freehand is genuinely difficult: micro-tremors in hand muscles, the rotational pivot of the wrist joint, and the non-linear inertia of the arm all conspire to introduce curvature. Elite scores above 98% put you in a very small percentile of human performance.

Frequently Asked Questions (FAQ)

Q: Is The Perfect Line free to play?

Yes. The Perfect Line is completely free to play directly in your web browser. No account, no download, and no payment is ever required.

Q: Why is it so hard to draw a perfectly straight line?

Human biomechanics make freehand straight lines inherently difficult. Micro-tremors in your hand muscles and the rotational arc of your wrist naturally introduce curves. Without a ruler or guide, even trained artists rarely exceed 97% accuracy on their first attempt.

Q: How do I get on the global leaderboard?

Enter your nickname on the main screen before playing. After completing a game, click the ranking registration button on the result screen. Your score is submitted to our real-time global database and displayed for all players to see.

Q: Does the game work on mobile phones and tablets?

Yes. The game fully supports touch input. Tap the green A dot and drag your finger toward the red B dot. Touch-screen play is actually a different challenge from mouse play — try both and see which gives you a better score!

Q: What data does the game collect?

The game stores your retry count in your browser's local storage (no personal data). If you submit a leaderboard score, only your chosen nickname and your score are saved. Please see our Privacy Policy for full details.

Q: Can I use this game as a hand-steadiness or motor skills test?

Absolutely. The accuracy metric is mathematically grounded and consistent across sessions. Teachers, occupational therapists, and researchers have used similar straight-line drawing tasks to assess fine motor control. The score provides an objective, repeatable measurement.