Vigyata.AI
Is this your channel?

I Tried Coding a New Cursor On Mac

2.8K views· 111 likes· 7:12· Dec 27, 2024

🛍️ Products Mentioned (9)

⌨️ Check out my course on Coding and Selling APIs: https://payhip.com/b/oJ1s5 👨🏽‍💻 Here is the code that I wrote in this video: https://github.com/easymadecoding/CustomMacCursor Hey there, in this video I'll share with you a new idea that I randomly got when scrolling Reddit, as well as how I implemented it using chatGPT and Swift. Hope this will inspire you to put your ideas into practice. Sometimes it's easier than you might think. ● ● ● Business Inquiries: worksonmym@gmail.com ● ● ● • Software Engineer Interview Notes: https://andytriescoding.gumroad.com/l/interview-prep-materials • Get a 30-day Free Skillshare Trial: https://www.skillshare.com/en/r/profile/Programming-Made-Easy/529521216 • Monitor Lamp | https://amzn.to/4gZWSzW • My Standing Desk | https://amzn.to/3Y3izpX • In-Ear Headphones | https://amzn.to/3NqBB4E • Over-Ear Headphones | https://amzn.to/3U4v3N2 • My Laptop | https://amzn.to/481u85O #softwareengineer #macbook #programming

About This Video

Yesterday I was browsing Reddit (as a person with my profession would do) and found a simple Gumroad Mac app that made snow stack on top of your dock with a penguin sliding around. The app was only four bucks, and as the senior software engineer that I am, I immediately wanted to build something similar—but with a twist: I wanted my Mac mouse cursor to leave behind snowflakes, and ideally make it customizable so you could swap the particles for anything. The catch? I don’t actually know how to code Mac apps—I mostly write C code for Windows. So I did what any sane person with no Swift knowledge would do: I asked ChatGPT, then jumped into Xcode and built a SwiftUI macOS app with a transparent, borderless overlay window that sits above everything (screen saver level) and ignores mouse events. From there I used a CAEmitterLayer + CAEmitterCell setup to spawn PNG particles (snowflakes) at the cursor position, then tweaked things like birth rate and scale so it didn’t look ridiculously intense. The main takeaway is that some ideas feel “hard” until you actually implement them—and sometimes it’s way more straightforward than you think.

Frequently Asked Questions

🎬 More from Andy Tries Coding