frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Metal.graphics – Metal shaders course for SwiftUI

https://www.metal.graphics/
1•vbaro•6h ago
A couple of years ago, when Apple added Metal shader support to SwiftUI (iOS 17), I tried to learn shaders. Most resources I found were either too academic (assuming graphics background) or just showed cool effects without explaining how they worked. I wanted something that built intuition step by step.

So I started taking notes. Those notes turned into a structured guide, and eventually into a full course — which I’ve now put online for free.

The course walks through shaders from first principles: - How shaders plug into SwiftUI (.colorEffect, .distortionEffect, .layerEffect) - Coordinate systems and why UV space matters - Colors as vectors (RGB/HSV, blending, interpolation) - Functions like sin, fract, and smoothstep that show up everywhere - Procedural patterns, randomness/noise, distance fields - Animation, texture sampling, performance, accessibility

Each chapter builds on the previous one, includes SwiftUI-ready code, and ends with challenges (honestly, the challenges were for me the best part to learn). There’s also an optional paid Xcode project with all the working shaders, but the course itself is free.

A side note: I didn’t write this by pasting prompts into an AI and spitting out chapters. I learned the material by using Claude as a study partner — asking it to explain formulas, clarify artifacts I saw, or come up with challenges based on my notes. That iterative back-and-forth helped me actually understand the math instead of copying code blindly.

If you’ve ever been curious about shaders but found the material intimidating, this is meant to be an approachable path in. Would love feedback — both on the course itself and on how others have used AI as a learning tool rather than just a code generator.

PS: iOS Dev Weekly featured the course recently, which was very encouraging.

Comments

vbaro•6h ago
For those who already have some Metal experience, I’ve also been writing shorter, hands-on shader tutorials on Medium as I build more examples: https://medium.com/@victorbaro

You Are All on the Hobbyists Maintainers' Turf Now (2024)

https://www.softwaremaxims.com/blog/open-source-hobbyists-turf
1•pabs3•34s ago•0 comments

Ask HN: Anyone working on bringing software back from US clouds?

1•sam_lowry_•1m ago•0 comments

Sometimes CPU cores are odd

https://anubis.techaro.lol/blog/2025/cpu-core-odd
1•todsacerdoti•3m ago•0 comments

An EM's Side Project Reached 1,800 GitHub Stars

https://newsletter.manager.dev/p/how-an-ems-side-project-reached-1800
1•AntonZ234•5m ago•0 comments

Ask HN: Which LinkedIn roles should I target for web scraping products/services?

1•vikramaruchamy•8m ago•0 comments

Nothing busted using professional photos as Phone 3 samples

https://www.theverge.com/report/766543/nothing-busted-using-fake-phone-3-photo-samples
2•k33l0r•8m ago•0 comments

Evaluation Code – GPT-5 on Multimodal Medical Reasoning

https://github.com/wangshansong1/GPT-5-Evaluation
2•Topfi•8m ago•0 comments

Hobbyist Maintainers with Thomas DePierre

https://opensourcesecurity.io/2025/2025-06-hobbyist-thomas-depierre/
1•pabs3•9m ago•0 comments

Project Showcase: Movuan

https://pine64.org/2025/08/27/august_2025_movuan/
2•wicket•11m ago•0 comments

In-App Browsers: The worst erosion of user choice you haven't heard of (2024)

https://open-web-advocacy.org/blog/in-app-browsers-the-worst-erosion-of-user-choice-you-havent-he...
4•wicket•12m ago•0 comments

AI audio generation/cleanup trained on my voice

1•jgrauman•13m ago•0 comments

Shakespeare can help us overcome loneliness in the digital age

https://scroll.in/article/1085865/how-shakespeare-can-help-us-overcome-loneliness-in-the-digital-age
1•akbarnama•13m ago•0 comments

Tips for installing Windows 98 in QEMU/UTM

https://sporks.space/2025/08/28/tips-for-installing-windows-98-in-qemu-utm/
1•zdw•14m ago•0 comments

Ask HN: What perfectly written monospace block text am I looking for?

3•meta-level•14m ago•0 comments

Anthropic's auto-clicking AI Chrome extension raises browser-hijacking concerns

https://arstechnica.com/information-technology/2025/08/new-ai-browser-agents-create-risks-if-site...
2•Bogdanp•15m ago•0 comments

How Cloudflare runs more AI models on fewer GPUs

https://blog.cloudflare.com/how-cloudflare-runs-more-ai-models-on-fewer-gpus/
2•eldridgea•17m ago•0 comments

World Train Travel Guide – The Man in Seat Sixty-One

https://www.seat61.com/index.html
2•mhb•17m ago•0 comments

AI Has Broken Hiring

https://brodzinski.com/2025/08/broken-ai-hiring.html
2•flail•20m ago•0 comments

A perfect symbiosis:planting vines other ways hot cities are creating cool space

https://www.theguardian.com/environment/2025/aug/28/planting-vines-and-other-ways-hot-cities-crea...
1•tocs3•20m ago•0 comments

A lower bound on the length of the shortest superpattern

https://warosu.org/sci/thread/S3751105#p3751197
1•gadders•21m ago•0 comments

The sisters "paradox" – counter-intuitive probability

https://blog.engora.com/2025/08/the-sisters-paradox-counter-intuitive.html
3•Vermin2000•24m ago•1 comments

Archaea produce peptidoglycan hydrolases that kill bacteria

https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3003235
1•PaulHoule•25m ago•0 comments

GM Raided Silicon Valley to Build Its New AI Team. Here's What It's Doing

https://www.wsj.com/articles/gm-raided-silicon-valley-to-build-its-new-ai-team-heres-what-its-doi...
2•pcl•25m ago•1 comments

LLMs solving problems OCR+NLP couldn't

https://cloudsquid.substack.com/p/ocr-is-legacy-tech
2•universesquid•26m ago•0 comments

Global airlines group proposes raising international pilot retirement age to 67

https://www.reuters.com/business/aerospace-defense/global-airlines-group-proposes-raising-interna...
1•rntn•26m ago•0 comments

From layoff to $15k/mo agency and $9k/mo M&A marketplace

https://www.indiehackers.com/post/tech/from-layoff-to-15k-mo-agency-and-9k-mo-m-a-marketplace-BV2...
2•sweatC•27m ago•0 comments

Ask HN: Building tools to make WhatsApp integration less painful for developers

1•milanspeaks•30m ago•0 comments

Show HN: GrowChief – open-source social media outreach tool

https://github.com/growchief/growchief
3•nevodavid•31m ago•0 comments

Static analysis tool for prompt templates

https://github.com/inworld-ai/prompt-brewery
2•selvan•31m ago•0 comments

How AI Works – A Primer

https://publish.obsidian.md/anjneymidha/How+AI+Works+-+A+Primer
1•anjneymidha•31m ago•0 comments