Activity

Robert Z

Finally made it so the session can make a video propagator. I need to revise the way I do it tho, I need to export a frame and save it to disk rather than using a numpy array and inserting into that.

1

Comments

Robert Z
Robert Z about 7 hours ago

I forgot to mention: also added the points functionality into it.

Robert Z

We completely finished the app within this time. There aren’t multiple devlogs because of the timecrunch, but feel free to look at the github commits @ https://github.com/deR0R0/alzapp

Attachment
0
Robert Z

I finished up my setup.py to install the necessary dependencies and also created a test.py script to test the video masker. I put a point at the grass and it masked it properly!

(The very green thing outlining the grass is the mask generated by the model)

0
Robert Z

Somehow Hackatime logged 4 hours but it did not feel that long. I made a “setup.py” script to download the proper dependencies (pytorch, torchvision) onto the users computer. I had to handle a case where certain pytorch builds had to be installed based on the cuda version installed on the user’s computer. There’s some problems I ran into: the default “venv” module that python includes does not (for some reason) install pip. This means I have to curl and download a get-pip.py script that installs pip so I could install all the other dependnecies. All stuff is installed with either pip or curl.

1

Comments

Robert Z
Robert Z 18 days ago

i forgot to mention, but i created this script so the user can have a seamless experience. (my user base is most likely non-tech savvy people, so i would rather spend a few hours making a script automating all of it rather than forcing people to install it my way and potentially making them lose interest in the project)

Robert Z

I refactored a ton of code and then created an event emitter so my main.ts variables could be modified and it’s really easy to make my functions global.

Attachment
0
Robert Z

Finally migrated all the previous tools to the new history system! Eraser and stuff. I also fixed up a bug where if you moved your mouse too slow, the spline generator would just not do anything. TODO: i need to implement chunking the drawing because if you draw for too long, it’ll start lagging the app.

Attachment
0
Robert Z

I finally added the active history stack for my drawing app. Here’s an example.

0
Robert Z

I changed the pen writing from using linear lines to using catmull spline and cubic bezier curves for better “quick” movements.

Attachment
0
Robert Z

I added a catmull-rom spline to replace the current pen implementation!
Also, I created a desmos graph to visualize how the catmull-rom spline with cubic bezier works.

0
Robert Z

Finished the entire script that allows you to download the mods from a curseforge modpack.

Attachment
0
Robert Z

I spent a few hours refactoring my project xd

Attachment
0
Robert Z

Add a cool little closing and openign animation for the toolbar.

0
Robert Z

Making toolbar. Making it not draw while moving the toolbar was especially hard.

0
Robert Z

Make a brush, adjustable pen size, and then make a circular eraser rather than a square eraser.

Attachment
0
Robert Z

Made canvas and rawing.

Attachment
0
Robert Z

Made the project + made window full screen without fullscreening!

Attachment
0
Robert Z

I’m working on my first project! This is so exciting. I can’t wait to share more updates as I build.

Attachment
0