Did you know you can use a Poisson solver to solve for field lines on an arbitrary distribution?
Field lines 'follow the flow', and they are super useful for visualizing flow fields or charge distributions
&pps
Did you know you can use a Poisson solver to solve for field lines on an arbitrary distribution?
Field lines 'follow the flow', and they are super useful for visualizing flow fields or charge distributions
&pps
Not a lot of super cool pictures that actually mean anything for day 2 of &pps, but I've implemented 'my' algorithm (which I've taken to calling the 'kernel solver') for the CPU (for now), and I was surprised to learn that, when compiled with odin's optimizer, it was actually faster, as well as more efficient, than Successive Overrelaxation
That bodes well!
A lot more characterizing and visualisations have to be done though
Accidentally created something that looks like sunset/dawn with &pps
Doing math visualizations is always fun because of stuff like this
These are the results of a simple Poisson solver benchmark (I made some reference implementations to compare against), and I'm working on some colourmaps
Currently manually inputting colour values in the code, which is a little janky
Hoping to switch to OKLAB at some point too, instead of lerping rgb hahaha
&pps
Got the most minimal of minimal viable products, mostly a vague demo of a direction of an idea, but the final commit before the end of the jam has been done
You can move images around and save them 👍 &sis
Life happened for a little bit, but when I could, I've been chipping away at the method for inputting numbers I've been thinking about for a while (since before the jam)
It doesn't actually do anything with the inputted value yet, and it's quite rough around the edges, but I think it's pretty fun
Hoping I can get some stuff done on stuff like loading from and saving images to directories and stuff as well haha &sis
Some super basic layering of 'images', but more importantly, functional gui (immediate ui mode is surprisingly easy to program), which is a first for me &sis
Wanted to get this done yesterday (super simple text boxes), but luckily it was as easy as I imagined
Also hm the font is not epically great, but I'm gonna stick with it for at least the jam
&sis
&sis Got a simple bitmap font (I'm sorry) and a way to draw boxes
Window resizing still works well, but there's still some unwanted behaviour when the window goes below a certain size
This video is really low quality and frame/refreshrate because of the recording app I use, might have to look for something slightly better
Got my framebuffer set up to be dynamic, so that UI elements and such won't deform drastically on window resize &sis
woohoo, I set up just enough glfw and openGL so that I can do software rendered UI and content to a texture (which I then send to the GPU) from here on out, just in time for the jam
Maybe looks a bit abstract like this, but just wanted to share the moment