You are browsing as a guest. Sign up (or log in) to start making projects!

4h 47m 9s logged

Determinist // Devlog 7 // 2026.08.12

Well, it’s official. I had to use AI for the first time :(

Why?

JavaScript does not have the same random implementation as Python does. Python uses MT19937 while JS uses Xorshift128+. This means we can’t use JavaScript’s random number generator, not to mention that we can’t even use it to shuffle arrays, as it lacks the method. And since I am relatively new to JS, I had two options: get a 15 year old module work that does exactly what I need it to, or make it with AI. I tried getting that package to work. I really did. Unfortunately, the algorithm it uses seems to be outdated, as the results differed in tests. That is why I used AI. I really didn’t want to, but I had to. Well, let’s look at the positives, at least!

Changes

  • The V2 algorithm is implemented and works 1:1 with the Python version!
  • I managed to make another input component that uses checkboxes so you can select what kind of characters you’d like. It was challenging but it works!

Next Up

  • Tomorrow I’ll work on the UI design
  • Adding the preset system
  • Building the site
  • Uploading to GitHub Pages
1
79

Comments 3

@aayanalikhan09

never a happy day when u HAVE to use ai :(

@aayanalikhan09

cool project tho

@Mate1166

@aayanalikhan09 I tried to avoid it as much as I could :( unfortunately I did not think about cross language compatibility when making the V2 algorithm, if I did I would’ve used an alternative random number generator available for both languages. I’ll change V3 to something like that once I start developing it