Branchless Cardinal Direction Movement
Posted by CardiologistLow6042@reddit | programming | View on Reddit | 2 comments
I developed a branchless, zero-dependency formula to handle cardinal direction movement without lookup arrays, which I call the Hichem formula. It uses phase-shifted triangle waves to compute dx and dy entirely at the ALU level, making it highly efficient for GPU and embedded applications.
programming-ModTeam@reddit
r/programming is not a place to post your project, get feedback, ask for help, or promote your startup.
Technical write-ups on what makes a project technically challenging, interesting, or educational are allowed and encouraged, but just a link to a GitHub page or a list of features is not allowed.
The technical write-up must be the focus of the post, not just a tickbox-checking exercise to get us to allow it. This is a technical subreddit.
We don't care what you built, we care how you build it.
Acebulf@reddit
I'm going to assume you're still in high school, and you've figured out a thing, and are proud of yourself.
This is written by an LLM, your post will be deleted
The formula is trivial. You will make countless "discoveries" like this over your life, and it's going to be expected from you, without celebration, and especially without anything being named after you.
If you name a formula after yourself people will think you are arrogant.