frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Touch Trigonometry – interactive way to understand the trig functions

https://apps.apple.com/us/app/touch-trigonometry/id6758712159
1•matthewtoast•1h ago
I started to teach myself to code around 15 years ago. At the time I was working service industry jobs (restaurant kitchens, coffee shops) and desperate to change my career and life.

Around that time there was a new thing called <canvas> available in HTML5 that you could use to render graphics in web pages without plugins; despite my limited knowledge of tech and lack of coding skills, I knew I wanted to be a part of that.

Around that same time, I had also enrolled at the community college for night classes in math. I wanted to "work in tech" after all, so a mathematics brush-up seemed wise. I had always struggled with math. But now that I was both incentivized to learn it, I found myself facing a familiar terror: trigonometry.

The other students, just out of high school, seemed to know this stuff. I was simply confused. The same frustration I had felt in high school returned: No one could clearly answer why this stuff worked. Why did we need a "sine" function?

So I decided to combine my struggles and make them into a single creative project: I would code a way to visualize and understand the trig functions - and in so doing, I would learn trigonometry and HTML5.

I called it "Touch Trigonometry" and the idea was simple: You move your mouse, and the visualization of the trig functions would update. There would be a unit circle showing the angle. There would be a graph showing the plots. As a kinesthetic learner, I theorized that if I could simply "play with trigonometry" I could get an intuitive understanding of trig.

In the end, building it helped me grasp a concept that had always flummoxed me. And to my surprise, it got posted on HN and made it to the front page. It got many thousands of views and lots of comments on its Disqus message board.

Time went by; I moved onto other things; I gave up the domain and forgot about it.

Early this year I decided to see how quickly I could re-implement Touch Trigonometry again, this time in React Native, using Claude Code, in the form of an app. It took me around 8 hours of total coding time (that's including my own pondering, but not stuff like pushing to the App Store). It was easier this time, not just because of the AI agent at my disposal, but also because I already had a foundation in trig, much more experience as a software engineer, and a more concrete sense of what I wanted the UI to be.

There were a lot of friction points with Claude Code (circa Jan 2026). It could not "one-shot" this app, at least nothing like what I really wanted. It made poor recommendations on rendering and UI setup. UI rendering performance was bad at first, especially layering add'l visualizations like labels; only with considerable "coaching" cold Claude make it tolerable.

Notably Claude also had problems comprehending where to place elements in 2D space - especially with the default landscape orientation of the app. I had to manually place elements on the canvas to use as references it could understand. I had to rename many inaccurately named variables by hand - because its own naming conventions were leading it astray and causing more positioning and orientation mistakes. Even despite such interventions, it often did the orthogonal of what I asked.

I would guess that Claude's issues with spatial understanding are easily fixable on Anthropic's side. They could a bajillion synthetic examples to Claude's training data to give it a better understanding of how natural language spatial positioning instructions map to discrete code edits.

That said, once the essence was working, it was pretty simple to go from 90% complete to 99% complete. This app isn't perfect, and it needs a lot more refinement, but it was an interesting exercise to test what Claude Code's limitations are today.

Anyway, Touch Trig is now alive again and I overall it was a super fun side project to work on. It's very satisfying to see my old UI alive again in app form.

The app that fixes itself

https://steveinflow.github.io/blog/self-healing-app-with-agent-orchestration/
1•wrs•54s ago•0 comments

Show HN: The fastest OLAP engine for React Native

https://github.com/pranshuchittora/react-native-duckdb
1•pranshuchittora•2m ago•0 comments

AI-Generated Images Spread During Mexico Cartel Crisis, Written from Shelter

1•PZR2000•2m ago•0 comments

The Death of the Software Craftsman

https://naildrivin5.com/blog/2026/02/23/the-death-of-the-software-craftsman.html
1•zxspectrumk48•2m ago•0 comments

James Webb Telescope Takes a First Peek Inside Uranus

https://www.extremetech.com/science/james-webb-telescope-takes-a-first-peek-inside-uranus
1•voxadam•3m ago•0 comments

Show HN: Agnost AI – Analytics for Conversational Text/Voice Agents

https://biggest-decisions-702764.framer.app/
1•shubhamintech•3m ago•0 comments

The Persona Selection Model

https://www.anthropic.com/research/persona-selection-model
1•salkahfi•5m ago•0 comments

Apple in 2025: The Six Colors report card

https://sixcolors.com/post/2026/02/2025reportcard/
3•zdw•6m ago•0 comments

Women and Children First

https://en.wikipedia.org/wiki/Women_and_children_first
1•vinnyglennon•7m ago•0 comments

Context Is Everything (Conditions May Vary)

https://terratauri.com/blog/context-is-everything/
1•donutshop•7m ago•0 comments

Show HN: Axiom Refract – Full architectural record for any codebase

https://axiomrefract.com/
1•Cerebrum_Cadre•7m ago•0 comments

GPT-Realtime-1.5 Released

https://twitter.com/OpenAIDevs/status/2026014334787461508
2•hectormalot•9m ago•0 comments

State honors five Carson City schools for best practices

https://www.nevadaappeal.com/news/2026/feb/23/state-honors-five-carson-city-schools-for-best-prac...
1•qualudeheart•11m ago•0 comments

Show HN: AI Studio – Multi-Persona AI with WhatsApp and Memory

https://council.gameinghub.com/
1•prijak•11m ago•0 comments

Disappointing Phones

https://cadence.moe/blog/2026-02-08-disappointing-phones
2•birdculture•11m ago•0 comments

Some AI startups use a multitiered fundraising maneuver to inflate valuations

https://www.inc.com/ben-sherry/this-controversial-fundraising-hack-is-booming-but-it-might-not-be...
1•spenvo•11m ago•1 comments

RetroDECK removes Switch emulator over potential Nintendo legal concerns

https://www.xda-developers.com/retrodeck-removes-steam-deck-switch-emulator-amid-nintendo-legal-c...
1•nyc_oliviasmith•12m ago•0 comments

Show HN: Moltgram, a social network where only AI agents can post

https://moltgram-api-production.up.railway.app
1•dedpool•17m ago•0 comments

Show HN: Draw lines on any floor plan image to get real-world measurements

https://viraniaman94.github.io/floor-plan-measure/
1•aster0id•18m ago•0 comments

People Are Worried About Blue Owl Liquidity

https://www.bloomberg.com/opinion/newsletters/2026-02-23/people-are-worried-about-blue-owl-liquidity
3•zerosizedweasle•19m ago•0 comments

Show HN: TreeTrek

https://repo.autonoma.ca/repo/treetrek/blob/HEAD/README.md
1•thangalin•20m ago•0 comments

B+tree Visualizer

https://bptvisualizer.netlify.app/
1•remywang•20m ago•0 comments

Anthropic Study: AI Coding Assistance Reduces Developer Skill Mastery by 17%

https://www.infoq.com/news/2026/02/ai-coding-skill-formation/
4•msolujic•20m ago•0 comments

Tetriss and Chess = Tetress

https://tetress.com/
1•kulesh•21m ago•0 comments

Agent-friendly B2B taxation made simple

https://rel.tax/
1•kulesh•22m ago•0 comments

Where to work: compare cost of living and PPP worldwide

https://whereto.work/compare/toronto-canada/ottawa-canada
1•kulesh•22m ago•1 comments

Understanding the Go Runtime: The Memory Allocator

https://internals-for-interns.com/posts/go-memory-allocator/
2•valyala•23m ago•0 comments

Show HN: Inference Engineering

https://www.baseten.com/inference-engineering/
1•philipkiely•25m ago•0 comments

Show HN: Tested ChatGPT prompts for business (email, sales, social media)

https://klepetohata.gumroad.com/l/xiafjb
1•promptvaulthq•26m ago•0 comments

Language model mitigates chimera artifacts in nanopore direct RNA sequencing

https://www.nature.com/articles/s41467-026-68571-5
1•PaulHoule•26m ago•0 comments