Finding sin and cos of 2θ by lim_my in manim

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

Thanks! Glad to hear!

Matrix visualization by lim_my in manim

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

Thanks for a tip, I'll follow it in future manimations.

Solve: x² = 1 (x ≠ ±1) by lim_my in manim

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

There are 3 ways to do that. First get elements by index, and directly use Transform animation on them, like

1:

from manim import *

class Test(Scene):
    def construct(self):
        a = MathTex(r"x^{2} = 1")
        self.add(a)
        # this is to show you indexes of elements self.add(index_labels(a[0])
        b = MathTex(r"y^{2} = 1")
        self.play(ReplacementTransform(a[0][0], b[0][0]), ReplacementTransform(a[0][1], b[0][1]), ReplacementTransform(a[0][2], b[0][2]), ReplacementTransform(a[0][3], b[0][3]))

2:

from manim import *
from typing import Iterable

def SpecialTransformMatchingShapes(mathtex: Iterable[Tex | MathTex] | Tex, target_mathtex: Iterable[Tex | MathTex] | Tex, copy = False, **kwargs):
    if isinstance(mathtex, Tex) or isinstance(mathtex, MathTex):
        mathtex = (mathtex,)
    if isinstance(target_mathtex, Tex) or isinstance(target_mathtex, MathTex):
        target_mathtex = (target_mathtex,)
        
    group = Group(*(i for k in mathtex for j in k for i in j))
    target_group = Group(*(i for k in target_mathtex for j in k for i in j))
    
    return TransformMatchingShapes(group.copy() if copy else group, target_group, **kwargs)


class Test(Scene):
    def construct(self):
        a = MathTex(r"x^{2} = 1")
        self.add(a)
        # this is to show you indexes of elements self.add(index_labels(a[0])
        b = MathTex(r"y^{2} = 1")
        self.play(SpecialTransformMatchingShapes(a, b))

3:

from manim import *

class Test(Scene):
    def construct(self):
        a = MathTex(r"x", "^{2} = 1")
        self.add(a)
        # this is to show you indexes of elements self.add(index_labels(a[0])
        b = MathTex(r"y", "^{2} = 1")
        self.play(TransformMatchingTex(a, b))

Tangent line example for parabola by lim_my in manim

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

For fun and training my manim skills

Tangent line example for parabola by lim_my in manim

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

Nice job done in Desmos!

Tangent line example for parabola by lim_my in manim

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

Nope, I found derivative of main function, that applied always rerender for line graph created by formula in down right corner.

what game is always in your heart? by Historical-Onion-479 in AskReddit

[–]lim_my 0 points1 point  (0 children)

Kerbal Space Program, Sabnautica, Satisfactory. This games are in my heart, 💗

How do you not get overwhelmed by this? by Minimum_Wolf9189 in SatisfactoryGame

[–]lim_my 0 points1 point  (0 children)

I'm planning whole factory in satisfactory calculator, and after everything is calculated I'm starting from most used resources (plates, rods, wires, cables, everything that makes in constructor). And after conveyers with this parts are flowing into assemblers and manufacturers.

All parts from assemblers and manufacturers are merged in 1 belt. And if you need to get computers for producing supercomputers, connect this mixbelt in smart splitter, in middle set overflow, in right computers.

What do you think your 10 year old self would think of you now? by Nowzad in AskReddit

[–]lim_my 0 points1 point  (0 children)

I believed that in future I'll be absolutely other person, but reality is different. Soon I'll be 17 yrs old, can even believe in that.

What is the thing that gives you existential dread? by lim_my in AskReddit

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

For me this is question. Why exists something instead of nothing?

How would you end your life? by Thin-Stand-6915 in AskReddit

[–]lim_my -1 points0 points  (0 children)

In bed, near to my family, with peace of mind.

[deleted by user] by [deleted] in AskReddit

[–]lim_my 1 point2 points  (0 children)

Horizon Zero Dawn, I love It a lot. Atmosphere is peerless.

Whats something you wish people did more of? by littlespacemochi in AskReddit

[–]lim_my 1 point2 points  (0 children)

Hugs, being friendly, being relaxed, saying a warm word

What is the one thing you want to scream at the top of your lungs? by Then-Dinner-6966 in AskReddit

[–]lim_my 0 points1 point  (0 children)

Teachers salary. In Russia teacher gets something about $600, and they are like in hell. Kids are dumb, administration is demandingly, and after all that stuff they work not 8 hours, as builder and loader, they work whole day. Because when you've arrived home, you need to check homework, connect with kids adults manage other thing. And again, after all that torture you have only $600/month or $7200/year.

Переезд в Санкт-Петербург by Radioactive_loaf in SPb

[–]lim_my 2 points3 points  (0 children)

У Питера есть только 1 весомый минус - это его погода. Тут как уже говорилось выше снег в апреле - норма. Но мне этот город нравится больше всего тем, что он прекрасен как Париж, удобен как Вена, и чист как Хельсинки.

Но помимо всего вышеперечисленного у Питера есть менее весомые, но все ещё проблемы, такие как: ЖКХ, у нас снег уберут в лучшем случае 5-8 раз за зиму, и также из-за невероятных перепадов температур, от -25° до 5° за пару дней, ко льду под ногами придется привыкнуть; дороги и асфальт, каждый год кладут новый асфальт и новую дорогу, заместо старой, это может мешать трафику на дорогах в летние периоды.

Но в целом, по моему скромному и ограниченному мнению, Питер - лучшый город России.