All work
iOS APP · STATISTICAL ANALYSIS

Lotto Lens

An educational statistics app for Mega Millions, Powerball and NY Lotto. Eleven analysis methods, a 2D and 3D interactive heatmap, and a number-profiling tool that scores any pick 0–100 — all computed on-device, fully offline, with zero tracking. It doesn't predict, guarantee, or improve odds; it shows you the real statistics behind the game.

11
analysis methods
2,523
draws across 3 lotteries
100%
offline after first sync
0
trackers or analytics

01Inside the app

SWIPE FOR MORE →
Lotto Lens Number Lab with Powerball selected, showing pick tools and the latest draw
Number LabEnter your own numbers or let Smart Pick fill them, against whichever lottery is selected — here Powerball, with its own 1–69 main pool and 1–26 Powerball.
Smart Pick Profile scoring a set of Mega Millions numbers at 65 out of 100
Analyze my numbersEvery pick scored 0–100 from frequency, due ratio, pair strength and balance — with sum, even/odd and low/high context, and a Top Pick badge on the strongest number.
Number frequency chart ranking the top 25 most drawn numbers
FrequencyThe most-drawn main numbers ranked across the selected scope — 31 leads the Mega Millions record at 240 appearances.
Mega Ball frequency shown as a bubble chart sized by appearance count
Bonus ballThe bonus ball is drawn from its own pool, so it gets its own analysis — sized by how often each has come up.
Two-dimensional heatmap grid colouring every main number by frequency
HeatmapEvery number in the pool coloured by frequency, across 30 days, 90 days, a year, all time, or any single year.
Three-dimensional rotatable frequency terrain built from the heatmap data
3D terrainThe same distribution as a rotatable, pinch-zoomable surface — drag to turn it, tap a column for that number's detail.
Data tab showing the three supported lotteries and total draw count
Three lotteriesMega Millions since 2002, Powerball since 2010 and NY Lotto since 2001 — 2,523 draws, with the analysis scope under your control.
Lotto Lens launch screen with the Evolved Gorillas logo over a field of numbers
LaunchBuilt and shipped under the Evolved Gorillas name — design, code and release by one person.

02What it does

Lotto Lens pulls draw history for Mega Millions, Powerball and NY Lotto from state open-data portals, stores it locally, and turns it into eleven analysis methods: frequency and least-common, bonus-ball frequency analyzed against its own pool, number pairs, hot streaks, even/odd and high/low distribution, number sums, gap/due analysis, a 0–100 Power Rating per number, and a chi-square fairness check that tests whether the selected draws are statistically consistent with a fair lottery.

The Analyze My Numbers tool scores each pick out of 100 — frequency rank worth 40 points, due ratio 30, pair strength 20, and even/odd plus high/low balance 10 — and tags it with what drove the score. The heatmap covers every number in the selected pool across five time ranges, in a colour grid or a rotatable 3D frequency terrain.

Built in Swift 5.9 / SwiftUI with MVVM and async/await, for iOS 17+. Everything runs on-device; after the first fetch it works fully offline, and it collects nothing about you. Mega Millions is free; Powerball, NY Lotto and the Pro pick tools unlock with Lotto Lens Pro.

03The hard part wasn't the statistics

Lottery apps have an ethics problem. The maths is easy; the temptation is to let a user believe that "31 is overdue" means something about tomorrow's draw. It doesn't — every number has the same probability in every drawing, always, and past results carry no information about future ones.

So the design question running through the whole app was how to show genuinely interesting historical patterns without implying predictive power. That shaped concrete decisions: the notice appears up front rather than buried in settings; the gap analysis describes an absence relative to a number's own historical average and stops there; and the language throughout stays descriptive — what has happened, never what will.

The fairness check is where that position gets tested rather than asserted. It runs a chi-square test over the selected draws and reports whether the distribution is consistent with a fair lottery — which, on real data, it is. An app selling the idea of beatable patterns would never ship a feature whose honest answer is "the numbers are random."

Getting that right mattered more than any single statistic in the app, and it's the part I'd defend hardest in review.

In App Store review
Lotto Lens has been submitted and is waiting on Apple's decision. The App Store link lands here once it clears. The source is kept private — happy to walk through the architecture or the analysis engine on request.

Want a closer look?

The source is private, but I'm glad to talk through how it's built — the data layer, the analysis engine, or the design decisions behind the honesty constraints.