Posts

Showing posts from August, 2022

GNUnet Messenger API: August

Image
Hi again, I finally managed to get some more time working on the Messenger project and there have actually been quite some changes. First of all I added multiple views with sub-windows in the messenger-cli application. So essentially a really awesome aspect of ncurses was that you could draw content inside a so called window but also create sub-windows inside of another window. That means the whole implementation I’ve worked on before could be reused to merge multiple views in a custom layout, I just had to implement. So the results looks like this: image of messenger-cli in group chat The layout depends on the size/resolution of your terminal and will adjust dynamically if you resize it. So for example if you decrease the width the list of members in a chat will hide but it’s still accessible via pressing TAB. I tried to make the experience pretty smooth and used a lot of knowledge from working with libhandy on the convergent GUI from the messenger-gtk application. So I hop

Firework with particles in Vulkan

Image
In the last months another fellow student and I implemented a firework simulation at the university. It’s not as complex as the material point method from the last simulation project I talked about on this blog but I didn’t wanted to go through the same hassle as last time either… 😅 We still used the VkCV (the Vulkan framework I am still working on) and the project is currently merging into the sample projects of the framework . So you can check it out yourself given that you have a device supporting Vulkan (works great on the Steam Deck by the way 😄). firework demo #1 The results are nonetheless pretty good. With a little more time the smoke could have looked even better. So maybe when I find the time, I’ll try to tweak it a bit. Most awesome aspect of this application is that different kinds of fireworks can be customized quite easily from the applications code. Because everything is structured as graph of events which can be timed in execution. firework demo #2 The