Share your cool programs!

  • xthexder@l.sw0.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 month ago

    I’ve been working on my own game engine for years, and there’s all sorts of cool stuff it can do, but recently I’ve been expanding the scripting to be capable of streaming images to the GPU.

    Today I got Doom running inside my engine as a hot-reloadable plugin script:
    Video: https://wednesdayos.sw0.com/share/2025-12-13_00-25-14.mp4

    The engine has real-time bounce lighting using a highly modified voxel cone tracing algorithm I developed (doesn’t require ray tracing hardware), which I’ve been able to get running even on my Steam Deck! Video: https://wednesdayos.sw0.com/share/2025-03-21 23-50-29.mp4

    The whole thing is open source here: https://github.com/frustra/strayphotons

    • mindbleach@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Software path-tracing has been on my bucket list, mostly to test a concept: physically based instant radiosity. If an eye-ray goes camera, A, B, C, then the light C->B forms an anisotropic point source. The material at B scatters light from C directly into onscreen geometry. This allows cheating akin to photon mapping, where you assume nearby pixels are also visible to B. Low-frequency lighting should look decent at much less than one sample per pixel.

  • slippyferret@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    A long time ago I wrote a little web app that takes a search string and finds all the words in the dictionary that have overlap with its spelling. Sort of a portmanteau generator. It was just a fun project at the time, but I have used it on countless occasions to brainstorm unique names for projects, websites, etc.

    You can try it from the link below. Just type any word or name and it will populate the results.

    https://dev.djdupriest.org/name-combinator/index.html

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Archery app. Basically zero users, and got purged from the play store earlier this year because I refused to jump through their hoops.

    It was was meant for use with scopes, you would put in some distance and scope settings pairs into it, and it would fit a line allowing you to estimate intermediate scope settings.

    It also had an AR mode, where you could save a targets GPS position, and get the distance and angle to the target, and the pin setting.

    Sadly, never got any users. So its just for me now. And I deleted the AR stuff.

    • hereforawhile@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Woah! So you give it a distance and it estimates where to place the reticle? What sort of math formula do you use to estimate?

  • maxy@piefed.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I’m still proud of my rendering of the logistic map. It was mostly just to learn more Rust, but it rendered this beatuiful picture with relatively little code. And mostly by accident, I didn’t know I would get those cool shadows!

    image

  • KiranWells@pawb.social
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    https://github.com/KiranWells/corgi

    Like a lot of graphics programmers, I fell into the rabbit hole of rendering fractals. However, I never stopped - over the past couple of years I have slowly been building one of the most sophisticated Mandelbrot/Julia rendering programs that I am aware of. It has a mostly intuitive user interface, and does all of the calculations on the GPU. It has to use a bunch of mathematical tricks to get around the limits of single-point precision available in shaders. Because of the GPU rendering algorithm, I’ve managed to view fractal locations at around 10^250 times magnification with near real-time performance.

    I also built a really in-depth compositing/coloring system, allowing you to make some really crazy images and get a lot of variation even for the same location:

    A grid of 9 rendered fractals, each one with the same rendered location but drastically different coloring styles.

    Although it has only been me working on it, I think it is in a pretty mature state so far, and I would gladly take PRs/issues if anyone happens to be interested. It should support any OS if you compile it from source, but I don’t have binary releases set up yet.

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      I worked on and created a lot of things, but when thinking ‘cool’, the fractal rendering I did a long time ago popped into my mind as well. It just looks cool, interesting, has variance and experimentation, and is very visual.