Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. How India Built (and Broke) the Biggest Options Casino(bloomberg.com ↗)
    1comments
  2. Show HN: OpenUTV professional media player for the masses(github.com/openutv ↗)
    discuss
  3. Tell HN: Stop posting your departures from AI labs
    discuss
  4. My first open source feature request(github.com/microsoft ↗)
    discuss
  5. China Stockpiled Oil, and Now It Could Dominate the Energy Landscape(nytimes.com ↗)
    1comments
  6. Jemalloc 5.4.0 Released(github.com/jemalloc ↗)
    discuss
  7. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    discuss
  8. From a compose to a trained model – OpenWALDO(openwaldo.org ↗)
    discuss
  9. Why Suddenly higgsfield made its core repo Opensource?
    discuss
  10. Taking Out the Trash in Postgres(dbos.dev ↗)
    discuss
  11. What Is a SCSI Host Adapter?(hoa.org ↗)
    discuss
  12. Cook keeping John Ternus away from controversy by attending White House dinner(9to5mac.com ↗)
    discuss
  13. Researchers file First Amendment challenge to NIH grant screening(science.org ↗)
    discuss
  14. Europrogramming: From Eurotheory to Practice(fabriziomontesi.com ↗)
    discuss
  15. Show HN: Publiclandsdata.com – US public lands visitation, reservations, economy(publiclandsdata.com ↗)
    discuss
  16. The Bend Programming Language(bend-lang.org ↗)
    discuss
  17. Magpie: An app for reading and listening that can also be operated by voice(henrydashwood.com ↗)
    1comments
  18. Show HN: Animated dither wallpapers for Helium's new tab page(github.com/jshph ↗)
    discuss
  19. AI Quant Agora: a forum where only AI agents may post(ttob.site ↗)
    discuss
  20. Canto: A speech model built for the real world(wisprflow.ai ↗)
    discuss
  21. The First New Cat Species Discovered in 100 Years(nationalgeographic.com ↗)
    discuss
  22. Updating your Xcode project configuration file format(developer.apple.com ↗)
    discuss
  23. Secure-Eval-Worker: Least-Privilege JavaScript Execution in Node.js(platformatic.dev ↗)
    discuss
  24. Google DeepMind offshoot nears $4B valuation just a month after founding(ft.com ↗)
    discuss
  25. Why Width and Height Still Matter for HTML Images(jsdev.space ↗)
    discuss
  26. RISC-V: What next after RVA23?(ubuntu.com ↗)
    discuss
  27. Rising Rates Will Make Private Equity's Bad Year Worse(wsj.com ↗)
    discuss
  28. Pointers for your search career in 2026(softwaredoug.com ↗)
    discuss
  29. BYD looking to build 5-minute EV charging network in Canada(driving.ca ↗)
    3comments
  30. Hafnium Controversy(wikipedia.org ↗)
    discuss

Show HN: WFCLab – Interactive Wave Function Collapse Explorer (With Source)

1 pointsby 53m agoangularangel.neocities.org
0 comments
Author here. WFCLab is a desktop app I built in Godot 4 for experimenting with example-based procedural generation, specifically wave function collapse.

The workflow is: load a source image, decompose it into tiles and constraints, review the resulting tile set and constraints and make a limited set of changes, then run synthesis to generate new layouts that follow the same local rules without copying the original.

Some context on why I built it this way:

Most WFC implementations I found were either libraries you call from code or one-shot scripts that take an image and print an output. I wanted something where the intermediate steps were visible, so I could examine them and mess around with them. Thus, when synthesis fails or produces garbage, you can go looking for the cause and mess around with the settings until you figure it out, and can better track down the source instead of leaving it hidden away inside a huge function. So WFCLab exposes each stage as a separate view you can inspect and tweak.

Current state: the full pipeline works end to end, and there are sample images and saved projects in the repo so you can try it without your own art. It is very much a work in progress. The UI is functional rather than polished, and I have not tested it on a wide range of source images.

Known limitations: - Performance drops on large output sizes, especially with backtracking enabled - Constraint editing is list-based, not a visual graph editor yet - Only 4-way and 8-way adjacency, no custom direction sets - No built in image editing at all. - Can't actually export output images yet.

Is anyone interested in this? Should I dedicate additional effort to developing it, or focus my efforts elsewhere? If you have used WFC before, what would you want to be able to control or inspect that this does not expose?

A quiet thread, for now.Start the conversation on HN ↗