frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Emotive Engine – I wrote 8 elemental shaders to prove one pattern works

https://github.com/joshtol/emotive-engine
1•emotiveengine•1h ago
Live demo (click any gesture, no install): https://joshtol.github.io/emotive-engine/examples/3d/element...

Open-source character animation engine, MIT licensed. About 6 months of work. Renders animated mascots in Canvas 2D or WebGL 3D.

For v3.4.1 I wrote 8 elemental shader systems from scratch: fire, water, ice, electricity, earth, nature, light, void. Each one has its own GLSL fragment shader, GPU-instanced models, an overlay that paints onto the mascot mesh, bloom control, and atmospherics. Ice does Snell's law refraction with chromatic dispersion. Electricity is 3-scale 3D Voronoi edge-distance. Fire decouples color from alpha so additive stacking doesn't wash out.

I didn't need 8. I built them to see if the architecture actually repeats. Every element follows the same template: factory, instanced material, overlay shader, gesture configs, registration. 161 gestures across all 8, composed from about 12 archetypes (crown, helix, vortex, barrage, pillar, etc).

The idea is that you can clone one element, swap colors and models, and have something working in days. If you write shaders, go deep on the material. If you don't, the defaults are fine.

Hit shuffle in the demo. Press G for the GPU monitor.

`npm install @joshtol/emotive-engine`

Comments

emotiveengine•1h ago
Started this about 6 months ago. Wanted an animated character that could react to conversation, not just sit there as a static avatar.

First version was Canvas 2D. Shape morphing and particles. Worked fine for basic emotions but felt limited, so I added a WebGL 3D renderer with custom shaders, bloom, AO, a post-processing chain.

About 6 weeks ago I started the elemental system. Fire first. FBM noise, decoupled color from alpha so additive stacking looks natural instead of washing out. Then water (screen-space refraction, spray particles). By the third element (ice — Snell's law, Voronoi crack lines, chromatic dispersion), the architecture was clearly repeating: factory + instanced GPU material + overlay shader + gesture configs + registration hook. Same five pieces every time.

So I kept going. Electricity, earth, nature, light, void. Eight total in about 6 weeks. Wanted to see if the pattern held or if I'd been fooling myself.

161 gestures later it held. Each gesture is about 20 lines of config composing from archetypes. The factory does the rest.

Shuffle button in the demo shows all 161. Press G for the GPU monitor. `window.profiler` is exposed if you want to poke around.

Happy to talk about any of the shaders, the rendering pipeline, or things I got wrong along the way.

Google to Discontinue Widevine Cloud License Service in April 2027

https://castlabs.com/blog/widevine-retiring-cloud-license-service/
1•dabinat•13s ago•0 comments

Summry – I replaced my mess of Make.com automations with this

1•tetianad•50s ago•0 comments

Codex Unresponsive

https://status.openai.com/incidents/01KK9JA8JKQKDW1W24T09NHBYH
1•rvz•1m ago•0 comments

Announcing Fedora Linux 44 Beta

https://fedoramagazine.org/announcing-fedora-linux-44-beta/
1•voxadam•2m ago•0 comments

You Hired the AI to Write the Tests. Of Course They Pass

https://www.claudecodecamp.com/p/i-m-building-agents-that-run-while-i-sleep
1•aray07•2m ago•0 comments

A small experiment in context aware storytelling on the web

2•vibecoder21•6m ago•0 comments

Iran: "The internet belongs to those who convey the voice of the nation."

https://twitter.com/shahinlooo/status/2031362334174703657
1•bayat•6m ago•0 comments

Will AI CapEx Pay for Itself?

https://chenyu-li.info/blog/
1•chenyusu•7m ago•0 comments

Show HN: Sandsofti.me – Visualize the time you have left with loved ones

https://sandsofti.me
1•kwm•10m ago•0 comments

Straitsweeper

https://straitsweeper.com/
1•davedx•10m ago•0 comments

Mesh over Bluetooth LE, TCP, or Reticulum

https://github.com/torlando-tech/columba
1•khimaros•10m ago•0 comments

CTF is dying because of AI?

https://blog.krauq.com/post/ctf-is-dying-because-of-ai
2•d_silin•12m ago•0 comments

Reality is not a controlled hallucination

https://iai.tv/articles/reality-is-not-a-controlled-hallucination-auid-3517
1•XzetaU8•12m ago•0 comments

Show HN: Don't share code. Share the prompt

https://openprompthub.com/#
1•jacomoRodriguez•13m ago•1 comments

Faster Ruby Bundler

https://railsatscale.com/2026-03-09-faster-bundler/
1•onnnon•13m ago•0 comments

The Obscure Relation of Appropriateness

https://vincentcarchidi.substack.com/p/the-obscure-relation-of-appropriateness
1•verdverm•15m ago•0 comments

Show HN: HyperFluid – Hyper personalised webpages using groq

https://hyperfluid.page
1•j_rcht•16m ago•0 comments

LLMs are bad at vibing specifications

https://buttondown.com/hillelwayne/archive/llms-are-bad-at-vibing-specifications/
2•todsacerdoti•17m ago•0 comments

Source Maps: Shipping Features Through Standards

https://bloomberg.github.io/js-blog/post/standardizing-source-maps/
2•robpalmer•17m ago•0 comments

DOGE member took Social Security data on a thumb drive, whistleblower alleges

https://www.washingtonpost.com/politics/2026/03/10/social-security-data-breach-doge/
11•greenburger•19m ago•2 comments

Show HN: G0 – The control layer for AI agents (scan, test, monitor, comply)

https://github.com/guard0-ai/g0
1•debug-0101•19m ago•0 comments

Nvidia is bringing X-Plane to the Apple Vision Pro

https://www.tomsguide.com/computing/virtual-reality/nvidia-is-bringing-a-killer-app-to-the-apple-...
4•tosh•20m ago•0 comments

Show HN: Modulus – Cross-repository knowledge orchestration for coding agents

https://modulus.so
1•dasubhajit•20m ago•0 comments

The Fat Ice Race Is a Reminder That All Cars Are Meant to Be Driven

https://www.thedrive.com/news/the-fat-ice-race-is-a-reminder-that-all-cars-are-meant-to-be-driven
1•PaulHoule•21m ago•0 comments

Teaching Claude to Be Lazy

https://www.parsonsmatt.org/2026/03/10/teaching_claude_to_be_lazy.html
1•speckx•21m ago•0 comments

Silicon Valley Files?

1•whoanelly•21m ago•2 comments

Keyboard jamming: sneaky way to make your boss think you're working from home

https://www.theguardian.com/money/2026/mar/10/keyboard-jamming-sneaky-way-make-boss-think-working...
3•billybuckwheat•21m ago•0 comments

Amazon wins court order to block Perplexity's AI shopping agent

https://www.cnbc.com/2026/03/10/amazon-wins-court-order-to-block-perplexitys-ai-shopping-agent.html
9•SilverElfin•22m ago•2 comments

I checked every syscall Claude and Codex made for a simple task

https://twitter.com/grithai/status/2031402802707112306
2•edf13•23m ago•0 comments

Grace

https://biblehub.com/topical/g/grace.htm
1•marysminefnuf•24m ago•0 comments