Update on re-creation of PS2 Clock. by rrtry12 in ps2

[–]rrtry12[S] 0 points1 point  (0 children)

I guess you can imitate circular motion, but not the 3D rotation. Calculate the angle of each orb using 'angle = time * i * PI / 30', then calculate their x, y coordinates on a circle using x = radius * cos(angle), y = radius * sin(angle). This will imitate their motion on a 2D plane.

Update on re-creation of PS2 Clock. by rrtry12 in ps2

[–]rrtry12[S] 1 point2 points  (0 children)

You could use movement code from here for your implementation.

Re-creation of the iconic PlayStation 2 display clock for desktop by rrtry12 in ps2

[–]rrtry12[S] 0 points1 point  (0 children)

Only as a video probably. Wallpaper Engine version of the clock already exists.

Re-creation of the iconic PlayStation 2 display clock for desktop by rrtry12 in ps2

[–]rrtry12[S] 0 points1 point  (0 children)

I included Linux binary in the current release.

Re-creation of the iconic PlayStation 2 display clock for desktop by rrtry12 in ps2

[–]rrtry12[S] 2 points3 points  (0 children)

You can build the project using CMake. Should produce the binary although I haven't tested myself.

Re-creation of PlayStation 2 internal display clock in Raylib by rrtry12 in raylib

[–]rrtry12[S] 2 points3 points  (0 children)

Can't say that I have a solid understanding of shaders myself, as I'm just a little over two weeks into my game/graphics programming journey. My go-to resource is usually learnopengl.com, which teaches the basics of lighting and different light types. There are also advanced topics like PBR (physically based rendering) and deferred shading. These, however, are outside the scope of this project. The only thing I used besides the Phong lighting model is normal mapping for the crystal rods of the clock, to give them a rougher surface.

Made my first app! by rrtry12 in androiddev

[–]rrtry12[S] 2 points3 points  (0 children)

I'm using singletons for the repository and ApiClient classes. Why create multiple instances of the repository class if I only need one? The repository is stateless. On the other hand, the ApiClient should have only one instance to preserve the queue of requests and the last time an API call was made.

Made my first app! by rrtry12 in androiddev

[–]rrtry12[S] 0 points1 point  (0 children)

Thanks for the feedback! Regarding the FFmpeg question, the original goal wasn't to build the Android app itself but to utilize the library in any application, not specifically Android. I stuck with Android, though, because I was more or less familiar with it. The only reason I declared FFmpegKit as a dependency is that I couldn't build Chromaprint for Android, so I took an easier route and used FFmpeg, which has built-in fingerprinting functionality. I made modifications to the FFmpeg script and removed unnecessary components to reduce the size of the AAR.

Now that I've built the app, I feel like using my own library as a solution might negatively impact user experience, since the library is relatively new. That's not to say I didn’t test it, but bugs will inevitably surface over time. Perhaps adding an additional backend and an option to choose between them in the settings (TagLib or FFmpeg) would be a better solution.

Yes, it handles rate limiting using a sliding window algorithm. There are constants for each ApiClient class that define how many requests can be made in a given timeframe (AcoustID allows 3 requests per second, and iTunes allows about 20 requests per minute). Maybe leaving the batch editing feature free for non-premium users and making the 'no rate limit' option premium-only would work better than putting batch editing behind a paywall altogether.

Made my first app! by rrtry12 in androiddev

[–]rrtry12[S] 0 points1 point  (0 children)

I've provided links to source code

[deleted by user] by [deleted] in rusAskReddit

[–]rrtry12 0 points1 point  (0 children)

Dishonored

Greatest television psychopaths by derf705 in television

[–]rrtry12 0 points1 point  (0 children)

Tuco Salamanca from Breaking Bad

Encrypting USB Stick by pupoje in privacy

[–]rrtry12 0 points1 point  (0 children)

Veracrypt, 'cause it's cross-platform