Skip to content
Open navbar menu
Sign UpLog In
Profile icon

KURATOR

@matthyno
i'm matthyno/kurator i guess
  • isotopeia

    Cover page
    Made with HTML, CSS, JS

    Video game I made

    Recent comments (0)
Repls
Community
matthyno
matthyno
published a Repl
7 months ago
0
ALLdlelib
ALLdlelibMake your own Wordle! Any number of tries, letter count, or even words!
matthyno
matthyno
published an Update
1 year ago
0
launcher
launcher
madew/replit: a half-decent 2-dimensional rocket game
whaddup i'm me and I just made a (I don't want to call it this because it's not even close to being as good as ksp) 2d ksp
#MadeWithReplit
#games
matthyno
matthyno
published an Update
1 year ago
1
mattex-website
mattexJS - 2d drawing & Co.
yeah check out matthyno/openVS for an example program with it
matthyno
matthyno
published an Update
1 year ago
0
situate.js - a projectile physics engine in 2d
css is bad code is okay physics is good cant wait for someone to find a engine-breaking bug :D
matthyno
matthyno
published an Update
2 years ago
0
Making math animations like 3Blue1Brown
Prerequisites Know Python to the extent of classes and basic library usage Know how to read docs \--> There is quite a lot of docs and examples for Manim at their website's docs page. Know how to use the packager and Replit in general (this should always be met, judging by how you got here) Know LaTeX/TeX (to some extent, you can also copy and paste the code from CodeCogs, and this is optional unless you want to use math notation) Intro You may have thought: How does 3b1b make their animations? Manim. We're going to use the community edition and 1 more library which allows repls to use LaTeX. Create a Python repl, then go to the packages tab, so that you don't have to run pip install everytime. Search for these 2 packages and click the plus to install: manim and manim-onlinetex. These will take a while to install, I think there's 27 dependencies total, including SciPy which takes a bit because it's so big. Once you're done, move on to step 2. Template Create the following file with the name .replit: Put in the file: run="manim -ql main.py " Replace ` with your name of choice, such as MainScene or TransformExampleScene`. No spaces, and I generally wouldn't recommend snake_case because in Manim that's not how we do it, except for function names inside the class. Then, in your main.py file, put the following: from manim import * from manim_onlinetex import * class (Scene): def construct(self): circle = Circle(radius=2, color=BLUE, fill_opacity=0.5) # make a circle with r=2, a lightish blue color, and a filled (but translucent) lightish blue inside square = Square(sidelength=4, color=BLUE, fillopacity=0.5) # Make a square with the same side length as the diameter of the circle label = Tex(r"Magic!").shift(UP*3) # Make fancy TeX text that says Magic!, use MathTex(r"contents") for mathematics TeX (LaTeX) play the animation self.play(Create(circle)) # Create the circle with a fancy technique self.play(Transform(circle, square)) # Transform the circle into a square, magic! self.wait(1) # Wait 1 second self.play(Write(label)) # Say how it's magic! self.play(FadeOut(square, circle, label)) # Fade out to black, say we're heroes, get a Emmy or something, I don't know self.wait(1) # Wait 1 second before ending the video, then end it Replace ` with your name of choice from the previous step, such as MainScene or TransformExampleScene` like I said earlier. The comments in the code should explain everything. There are a lot of preexisting animations in Manim, and self.play(AnimationHere(...Mobject[])) will play the animation of all of the Mobjects inside the animation function inside the parentheses. Mobjects are part of the core of Manim. It involves every... object. Polygons, LaTeX, you name it! The major thing that isn't a Mobject however is the majority of things that act upon them, such as Write, FadeOut, Create, or Transform, aka animations. You can create your own, but that's a bit more advanced and we won't cover that, but the Manim docs cover it well. You now have a basic graph on coding Manim, but where is the result? Configuration To answer that previous question, it's easy. Click the folders inside the media folder a bunch to open them all. You should find a folder named 480p15. That's the resolution and frames per second of the video. You should see, inside that folder, a video named .mp4, which is, you guessed it, the name of the scene. Ignore the partialmovefiles, that's just so that big rendering and prototyping don't take as long by storing each animation in that folder. How can I make it more than 480p15? To make it higher than pixel-y 480p15, go back to your .replit file and change -ql to -ql, -qm, -qh, or -qk, for medium, high, and 4k quality, respectively. What can you do with this/What's the best you can create? The possibilities are only limited by what you want to code. I made a video on making a very bad Pi series here and the source code for that video is here. The code is 237 lines long, but I didn't use very many helper functions at all, and if I did, it'd be significantly shorter. Anyways, that's about it. Make sure to check out the Manim docs link in the Prerequisites step to learn more. Thanks for reading! -cj
SixBeeps
SixBeeps
@cjmatthy09 Ooo a manim tutorial. Nicely done!2 years ago
matthyno
matthyno
@SixBeeps thanks2 years ago
matthyno
matthyno
shared a Post
2 years ago
#nix
#OS
#osdev
+2
LD is looking in /nix/store/ijph3y907mm9z67j8xikj56fg2lbnrdg-python3-3.7.10/lib/ on my project, but I want it to look in /home/runner/abrid-main/, but
abrid-main
Blank Repl
matthyno
matthyno
shared a Post
2 years ago
Abrid Welcome to the Abrid operating system! What does it support? This operating system supports initial ramdisks, PS/2 keyboards, GDT, IDT, IRQ, ISR
abrid-main
Blank Repl
17lwinn
17lwinn
Hi! Great work! Are there any plans to allow file handling in the OS? like write and delete?2 years ago
matthyno
matthyno
published a Repl
2 years ago
17
abrid-main
abrid-mainThis is abrid-hos but a compile-at-runtime version, so you aren't just running a precompiled ISO. It may take the slightest bit longer, but it still works and fixes the command-not-found freezing bug and echo-messes-up-next-command bug.
lcplayshelp
lcplayshelp
pretty cool2 years ago
ItssEhun
ItssEhun
how to download stuff or in beta? 1 year ago
matthyno
matthyno
published a Repl
2 years ago
2
cj8
cj8CJ-8 processor, with a compiler to go along with it.
amasad
amasad
Very cool2 years ago
matthyno
matthyno
published a Repl
2 years ago
0
jsnl
jsnlJavaScript Perlin noise library, with a Node.js library too at @cjmatth09/nodejs-jsnl
matthyno
matthyno
published a Repl
2 years ago
1
minejs
minejsminejs is a three.js game that is similar to the likes of Minecraft.
Fireeeee
Fireeeee
SUPER COOOL!!!!!!!!!!!!!!2 years ago
matthyno
matthyno
shared a Post
2 years ago
have fun, it's not much but i'm still gonna post it :) Controls: WASD + mouse, basically minecraft, switch blocks with "Open Controls" -> item dropdow
minejs
HTML, CSS, JS
RayhanADev
RayhanADev
It doesn't work for me ;-;2 years ago
Bunnytoes
Bunnytoes
good job but please fix the camera2 years ago
ANDREWVOSS
ANDREWVOSS
The camera is so janky that it makes the game unplayable, but good job on everything else2 years ago
matthyno
matthyno
published a Repl
2 years ago
26
abrid-hos
abrid-hosMOVED TO abrid-main/, where I can actually use Nix. This repl is no longer in development, and has been moved to abrid-main
toxicfox2491
toxicfox2491
exit status 1272 years ago
LukePengelly
LukePengelly
exit status 1271 year ago
matthyno
matthyno
shared a Post
2 years ago
This is an OS that I have been working on with the original source from GitHub at HOS-x86, and I have been modifying and making it better. Has: Basi
abrid-hos
Bash
mollthecoder
mollthecoder
Reboot does not work2 years ago
BenjaminMille16
BenjaminMille16
yooooooooooooo 2 years ago
PYTHORE3605
PYTHORE3605
Me: still waiting for it to load...2 years ago
matthyno
matthyno
shared a Post
2 years ago
I wanted to host my OSdev project on here, but I can't get qemu running.
matthyno
matthyno
It works now. Took a bit, but I did it, with some help from the VolantOS source.2 years ago
matthyno
matthyno
shared a Post
2 years ago
Hello, and welcome to this tutorial! We are going to be calculating Pi (3.1415...) using the Nilakantha series. The series is quite basic. First, you
calculatingpi
Python
FloCal35
FloCal35
Hahaha, I know more digits of pi than the program (at this iteration)2 years ago
matthyno
matthyno
shared a Post
2 years ago
it's so simple, but it works after days (made in php)
jbin
PHP Web Server
matthyno
matthyno
shared a Post
3 years ago
QWT.js is a quantum computing simulator. That's it. You can also add gates with the provided example extension!
cU extension
HTML, CSS, JS
matthyno
matthyno
shared a Post
3 years ago
LinearJS was originally intended to be a wiki language like MediaWiki, but then I realized it had so much more potential than a simple wiki language.
Linearjs
HTML, CSS, JS
RixTheTyrunt
RixTheTyrunt
I made LEAFSAYSwiki!1 year ago
RixTheTyrunt
RixTheTyrunt
Wondering how to make that print once? if (poweredShown == false) { console.log("%cINFO: Powered by Linearwiki!", "background: cyan; color: black; font-weight: bold;") poweredShown = true } And then in the start, just define poweredShown as false!1 year ago
matthyno
matthyno
shared a Post
5 years ago
Basically Cookie Clicker but with cakes and cake upgrades (and a secret)
CakeClicker
HTML, CSS, JS
jeweled
jeweled
dev code is obfuspreventititititionnnn9324832948329 lol2 years ago
bigman111
bigman111
how can i look at the code its not letting me 3 years ago
KenKimura
KenKimura
what is the secret3 years ago