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
2•matthewtoast•11h 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.

Show HN: enveil – hide your .env secrets from prAIng eyes

https://github.com/GreatScott/enveil
41•parkaboy•3h ago•26 comments

Show HN: X86CSS – An x86 CPU emulator written in CSS

https://lyra.horse/x86css/
98•rebane2001•5h ago•29 comments

Show HN: Steerling-8B, a language model that can explain any token it generates

https://www.guidelabs.ai/post/steerling-8b-base-model-release/
128•adebayoj•7h ago•17 comments

Show HN: PgDog – Scale Postgres without changing the app

https://github.com/pgdogdev/pgdog
247•levkk•16h ago•51 comments

Show HN: Babyshark – Wireshark made easy (terminal UI for PCAPs)

https://github.com/vignesh07/babyshark
105•eigen-vector•11h ago•39 comments

Show HN: Notion-CLI – Full Notion API from the terminal, 39 commands, one binary

https://github.com/4ier/notion-cli
2•4ier•1h ago•0 comments

Show HN: Sowbot – Open-hardware agricultural robot (ROS2, RTK GPS)

https://sowbot.co.uk/
149•Sabrees•16h ago•41 comments

Show HN: AI Timeline – 171 LLMs from Transformer (2017) to GPT-5.3 (2026)

https://llm-timeline.com/
158•ai_bot•23h ago•55 comments

Show HN: AgentBudget – Real-time dollar budgets for AI agents

https://github.com/sahiljagtap08/agentbudget
5•sahiljagtapyc•2h ago•2 comments

Show HN: L88 – A Local RAG System on 8GB VRAM (Need Architecture Feedback)

3•adithyadrdo•3h ago•0 comments

Show HN: ClinTrialFinder –AI-powered clinical trial matching for cancer patients

https://www.clintrialfinder.info
2•chncwang•3h ago•0 comments

Show HN: CIA World Factbook Archive (1990–2025), searchable and exportable

https://cia-factbook-archive.fly.dev/
476•MilkMp•1d ago•98 comments

Show HN: Falcon – Chat-first communities built on Bluesky AT Protocol

5•JohannaWeb•5h ago•0 comments

Show HN: PaperBanana – Paste methodology text, get publication-ready diagrams

2•mylsz•5h ago•0 comments

Show HN: Enseal – Stop pasting secrets into Slack .env sharing from the terminal

https://github.com/FlerAlex/enseal
3•ops_mechanic•5h ago•0 comments

Show HN: BVisor – An Embedded Bash Sandbox, 2ms Boot, Written in Zig

https://github.com/butter-dot-dev/bVisor
17•edunteman•14h ago•5 comments

Show HN: Agent Multiplexer – manage Claude Code via tmux

https://github.com/mixpeek/amux
11•Beefin•16h ago•1 comments

Show HN: 3D Mahjong, Built in CSS

https://voxjong.com
130•rofko•1d ago•58 comments

Show HN: A geometric analysis of Chopin's Prelude No. 4 using 3D topology

https://github.com/jimishol/cholidean-harmony-structure/blob/main/docs/03-case-study-chopin-prelu...
48•jimishol•3d ago•11 comments

Show HN: A deadly simple tmux windows like start UI

https://github.com/liyu1981/tmux_start_ui
3•liyu1981au•7h ago•2 comments

Show HN: Implementing ping from the Ethernet layer (ARP,IPv4,ICMP in user space)

https://github.com/v420v/ping
8•ibuki256•22h ago•1 comments

Show HN: Local-First Linux MicroVMs for macOS

https://shuru.run
207•harshdoesdev•1d ago•63 comments

Show HN: Llama 3.1 70B on a single RTX 3090 via NVMe-to-GPU bypassing the CPU

https://github.com/xaskasdf/ntransformer
388•xaskasdf•2d ago•102 comments

Show HN: WorldCanvas – R/place, but with a real world map as the canvas

https://worldcanvas.art
3•recuerdame•10h ago•1 comments

Show HN: PureBee – A software-defined GPU running Llama 3.2 1B at 3.6 tok/SEC

https://github.com/PureBee/purebee
3•benryanx•10h ago•1 comments

Show HN: Peekl – A modern alternative to Ansible and Puppet

https://peekl.dev
2•redat00•10h ago•1 comments

Show HN: Rendering 18,000 videos in real-time with Python

https://madebymohammed.com/pysaic
41•mbmproductions•1d ago•5 comments

Show HN: Merkle Casino – Random CT Domains

https://merkle.altayakkus.dev
2•biosboiii•10h ago•0 comments

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

https://apps.apple.com/us/app/touch-trigonometry/id6758712159
2•matthewtoast•11h ago•0 comments

Show HN: Search-sessions – Search all your Claude Code session history in <300ms

https://github.com/sinzin91/search-sessions
4•sinzin91•11h ago•4 comments