Show HN: Blue Noise – Interactive Explanation of Void and Cluster Algorithm After reading about the generation of blue noise here on HN a few times my goal was to implement my own variant of the the Cluster and Void algorithm in the most straight-foward way possible, while also visualizing each step. (JavaScript is required in order to step through the algorithm) Most other Blue Noise generator implementations are optimized for speed. Many explanations of the Cluster and Void algorithm I found online were overly complicated or focusing on details that do no help the initial understanding. My implementation is optimized for readability and understanding. I find it very inspiring see an algorithm broken down to its most essential steps. For one in order to better understand the algorithm itself but also for transfering its key concepts to other tasks, for example when designing my own algorithms. Eg in my rather high level python/numpy implementation one can easily understand that the two phases of the algorithm (phase 2 and phase 3) have no data dependency between each other and can therefor be parallelized. Additionally the numpy implementation demonstrates how the application of high level concepts like rank-polymorphism and convolution allow to express a sophisticated algorithm in only a few lines of code. Hope you like it. https://ift.tt/h1GarsJ May 28, 2024 at 03:37AM
Show HN: Blue Noise – Interactive Explanation of Void and Cluster Algorithm https://ift.tt/l9MLP1r
Related Articles
Show HN: I used AI to turn people into GigaChads https://ift.tt/tY8ajlQShow HN: I used AI to turn people into GigaChads Hey folks! I want to … Read More
Show HN: Covert – Rewrite of HashiCorp Vault Using Rust, SQLite and Litestream https://ift.tt/ab5zcniShow HN: Covert – Rewrite of HashiCorp Vault Using Rust, SQLite and Li… Read More
Show HN: Clop – optimise screenshots and recordings automatically https://ift.tt/6Os4lLzShow HN: Clop – optimise screenshots and recordings automatically http… Read More
Show HN: Run LLaMa2 on the Browser with Ggml.js https://ift.tt/RUNpDFvShow HN: Run LLaMa2 on the Browser with Ggml.js You can now build serv… Read More
Show HN: Mixtape of 200 “futuristic” songs circa 1980 https://ift.tt/trY0geWShow HN: Mixtape of 200 “futuristic” songs circa 1980 I'm posting this… Read More
Show HN: Pho – Phonetic Alphabet Renderer in Rust https://ift.tt/VmoNp1FShow HN: Pho – Phonetic Alphabet Renderer in Rust https://ift.tt/zekL1… Read More
Show HN: Weaviate – Multi Tenancy Notebook https://ift.tt/83tpiK1Show HN: Weaviate – Multi Tenancy Notebook https://ift.tt/U5fwdAb Augu… Read More
Show HN: Open-source proxy server for Llama2, GPT-4, Claude2 with Logging,Cache https://ift.tt/MZFkmL3Show HN: Open-source proxy server for Llama2, GPT-4, Claude2 with Logg… Read More
0 Comments: