frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Phantas – A browser-based binaural strobe engine (Web Audio API)

https://phantas.io
12•AphantaZach•3h ago
Hi HN, I’m a new developer with Aphantasia (no mental imagery).

A side effect of this is that regaining focus after a distraction takes me a long time (the "23-minute lag"). I tried standard binaural beats, but I discovered a technical flaw: streaming compression (AAC/MP3 on Spotify/YouTube) often muddies the specific phase differences required for effective entrainment.

I realized that to get effective entrainment, I needed lossless audio. Since I couldn't stream lossless easily, I decided to generate it locally. I built Phantas – a browser engine that uses the Web Audio API to generate raw sine waves in real-time on the client side. This ensures mathematical precision with zero compression artifacts.

For audio it uses Native AudioContext for dual-oscillator generation (Left/Right channel split).

For visuals I pair the audio with a 490nm Cyan strobe. The hardest part was syncing the visual flash (using requestAnimationFrame) to the audio pulse without "drift" caused by JavaScript's event loop latency.

I built this primarily for myself. Subjectively, it has reduced my "ramp-up" time from ~20 minutes to about 5 minutes.

I’m releasing the generator for free (no login) to see if this works for others or if it's just my specific brain chemistry. I’d love feedback on:

- Audio/Visual Sync: Does the strobe feel tight on your specific browser/refresh rate?

- Intensity: Are the default 14Hz flickers too aggressive?

Comments

dvh•2h ago
ERROR> https://phantas.io/_next/static/chunks/f60f633011df6d3a.js(5...: Uncaught TypeError: Cannot read properties of undefined (reading 'cancel')
AphantaZach•2h ago
Good catch. That’s an unguarded speechSynthesis call in the cleanup function. likely crashing on browsers that block the Speech API (or in privacy mode).

Just pushed a fix to wrap it in a conditional check. It should be live in ~2 minutes. Thanks for the stack trace!

aeon_ai•1h ago
Any evidence supporting “higher performance”?
AphantaZach•1h ago
Totally fair question. "Higher performance" is definitely a subjective claim, so I should clarify the mechanism I'm relying on.

The core concept is Photic Driving (the "Frequency Following Response"). There is decent literature (e.g., Herrmann, 2001) showing that the visual cortex effectively synchronizes its firing rate to match high-amplitude external flickers (like a 14Hz strobe).

My goal with this tool is to induce Transient Hypofrontality (down-regulation of the prefrontal cortex), which is often associated with "Flow States" (Dietrich, 2003).

To be clear: I haven't run a clinical trial. I built it to replicate the "Ganzflicker" effects (Reeder, 2021) in a browser environment to help with my own Aphantasia. Subjectively, it helps me clear cognitive noise faster than silence, but I'm releasing it for free to see if that holds true for others or if it's just placebo.

cantalopes•14m ago
It looks like a fun toy and i don't mean to disrespect but isn't this kind of a snake oil that's bordrline with placebo?

I mean, strobing light at specific hz will definitely have some effect on increased hz activity in your brain somewhat, and perhaps even relax me, but whether would that translate to "deep work" or just flshing light in my face would vary from person to person. And the gained benefits would be probably very dimnishing (like the whole "premium bineural beats" scams)

Plus the "unlock pro for targeted emotional regulation" souns veeeeery far fetched and fishy.

But if it gets popular i'm pretty sure some people would buy it (hell, people buy "good energy stones for good aura" to protect from reptilians or something)

What an unprocessed photo looks like

https://maurycyz.com/misc/raw_photo/
161•zdw•1h ago•29 comments

Stepping down as Mockito maintainer after 10 years

https://github.com/mockito/mockito/issues/3777
177•saikatsg•3h ago•82 comments

Unity's Mono problem: Why your C# code runs slower than it should

https://marekfiser.com/blog/mono-vs-dot-net-in-unity/
56•iliketrains•2h ago•23 comments

62 years in the making: NYC's newest water tunnel nears the finish line

https://ny1.com/nyc/all-boroughs/news/2025/11/09/water--dep--tunnels-
24•eatonphil•57m ago•5 comments

PySDR: A Guide to SDR and DSP Using Python

https://pysdr.org/content/intro.html
71•kklisura•4h ago•4 comments

Spherical Cow

https://lib.rs/crates/spherical-cow
9•Natfan•51m ago•1 comments

MongoBleed Explained Simply

https://bigdata.2minutestreaming.com/p/mongobleed-explained-simply
53•todsacerdoti•3h ago•13 comments

Researchers Discover Molecular Difference in Autistic Brains

https://medicine.yale.edu/news-article/molecular-difference-in-autistic-brains/
17•amichail•1h ago•4 comments

Growing up in “404 Not Found”: China's nuclear city in the Gobi Desert

https://substack.com/inbox/post/182743659
669•Vincent_Yan404•17h ago•290 comments

CEOs are hugely expensive. Why not automate them?

https://www.newstatesman.com/business/companies/2023/05/ceos-salaries-expensive-automate-robots
75•nis0s•46m ago•56 comments

Calendar

https://neatnik.net/calendar/?year=2026
942•twapi•19h ago•114 comments

Slaughtering Competition Problems with Quantifier Elimination

https://grossack.site/2021/12/22/qe-competition.html
6•todsacerdoti•53m ago•0 comments

Time in C++: Inter-Clock Conversions, Epochs, and Durations

https://www.sandordargo.com/blog/2025/12/24/clocks-part-5-conversions
11•ibobev•2d ago•0 comments

Remembering Lou Gerstner

https://newsroom.ibm.com/2025-12-28-Remembering-Lou-Gerstner
56•thm•5h ago•27 comments

Building a macOS app to know when my Mac is thermal throttling

https://stanislas.blog/2025/12/macos-thermal-throttling-app/
214•angristan•12h ago•96 comments

Software engineers should be a little bit cynical

https://www.seangoedecke.com/a-little-bit-cynical/
92•zdw•2h ago•72 comments

Doublespeak: In-Context Representation Hijacking

https://mentaleap.ai/doublespeak/
37•surprisetalk•6d ago•5 comments

Show HN: Pion SCTP with RACK is 70% faster with 30% less latency

https://pion.ly/blog/sctp-and-rack/
32•pch07•5h ago•4 comments

Dolphin Progress Report: Release 2512

https://dolphin-emu.org/blog/2025/12/22/dolphin-progress-report-release-2512/
49•akyuu•2h ago•3 comments

Replacing JavaScript with Just HTML

https://www.htmhell.dev/adventcalendar/2025/27/
679•soheilpro•22h ago•254 comments

Learn computer graphics from scratch and for free

https://www.scratchapixel.com
158•theusus•12h ago•19 comments

As AI gobbles up chips, prices for devices may rise

https://www.npr.org/2025/12/28/nx-s1-5656190/ai-chips-memory-prices-ram
20•geox•1h ago•9 comments

John Malone and the Invention of Liquid-Based Engines

https://permalink.lanl.gov/object/tr?what=info:lanl-repo/lareport/LA-UR-93-1350-25
12•akshatjiwan•4d ago•1 comments

Show HN: Phantas – A browser-based binaural strobe engine (Web Audio API)

https://phantas.io
12•AphantaZach•3h ago•5 comments

One year of keeping a tada list

https://www.ducktyped.org/p/one-year-of-keeping-a-tada-list
215•egonschiele•6d ago•60 comments

Why I Disappeared – My week with minimal internet in a remote island chain

https://www.kenklippenstein.com/p/why-i-disappeared
10•eh_why_not•2h ago•0 comments

Langfuse (YC W23) Is Hiring in Berlin, Germany

https://langfuse.com/careers
1•clemo_ra•12h ago

Show HN: LoongArch Userspace Emulator

https://github.com/libriscv/libloong
14•fwsgonzo•4d ago•3 comments

Designing Predictable LLM-Verifier Systems for Formal Method Guarantee

https://arxiv.org/abs/2512.02080
52•PaulHoule•9h ago•11 comments

2D Signed Distance Functions

https://iquilezles.org/articles/distfunctions2d/
80•nickswalker•4d ago•12 comments