number int64 1 67 | content stringlengths 8 2.54k | comments sequence |
|---|---|---|
67 | cant install 'custom' : ![Uploading image.png…]()
| [
"(base) PS C:\\Users\\conlin24\\Desktop\\work\\videos-master> pip install custom \r\nDefaulting to user installation because normal site-packages is not writeable\r\nCollecting custom\r\n Using cached custom-0.1.1.tar.gz (2.4 kB)\r\n Preparing metadata (setup.py) ... error\r\n error: subprocess-exited-w... |
65 | Update Copyright Year to 2023 : Updated copyright year to 2023. | [] |
55 | Ideas : | [] |
54 | Update README.md : Update to year. | [] |
49 | Probability distribution of patterns and entropy calculation : As per the source code below, to calculate the pattern distribution, it uses _possible_words_ to generate the distribution. Instead, shouldn't we use _allowed_words_ for this, since any of the allowed words can be generating a given pattern.
ie: the function call should be get_pattern_matrix(allowed_words, allowed_words) ??
```
def get_pattern_distributions(allowed_words, possible_words, weights):
"""
For each possible guess in allowed_words, this finds the probability
distribution across all of the 3^5 wordle patterns you could see, assuming
the possible answers are in possible_words with associated probabilities
in weights.
It considers the pattern hash grid between the two lists of words, and uses
that to bucket together words from possible_words which would produce
the same pattern, adding together their corresponding probabilities.
"""
pattern_matrix = get_pattern_matrix(allowed_words, possible_words)
```
| [
"Got this sorted. The codebase as it is, is correct\r\n\r\nLets say I choose the word CRANE. \r\nIn order to get all greys, it means that the ANSWER shud not have any of the letters in “crane”. So the probability of getting all greys is the number of ANSWER WORDS without any of the letters in “crane” divided by the... |
42 | Update possible_words to reflect changes by NYT : | [] |
41 | Wordle no output : When running the scenes.py using:
`python scenes.py`
I get an error saying no module manimlib
and when i use:
`manimgl scenes.py`
I get no output then it says manimgl v1.4.1 and it tells me some info about the configuration.
any ideas?

| [
"Firstly include [custom_config.yml](https://github.com/3b1b/videos/blob/master/custom_config.yml) into the same folder as scenes.py.\r\n\r\nRun:\r\n`manimgl scenes.py InitialDemo`",
"Now it just Says the version of ManimGL\r\n
`
| [
"The scene ordering probably changed since you submitted this, can you share the name of the relevant scene?",
"Im having the same problem. It is scene 76 now called \"WrapperForEntropyCalculation\"",
"Ah, a few things seem amiss then. I suspect something about how it's rendering LaTeX isn't working right, si... |
37 | Update Copyright : | [] |
36 | Creating one folder per video to avoid broken links ? : Taking as an example the last video about Worlde : originally, the link in the youtube video's description was [this one](https://github.com/3b1b/videos/blob/master/_2022/wordle.py). It has since been updated to [that one](https://github.com/3b1b/videos/tree/master/_2022/wordle) in the description, but someone who would have saved the link somewhere else would face a 404 by trying to access it. For instance, on Grant's website the github link to the source code is still [the old one](https://www.3blue1brown.com/lessons/wordle) (broken).
To avoid such situations where a video's code switches from a standalone file to a folder of files (refactor, more details, adding data, ...), maybe it could be a good idea to create a dedicated folder for each video, whatever how many files it contains.
I don't know how often it happens, maybe this is too occasional to be a matter. Plus it is not too hard to fix the link when you have the wrong one (unless there are hundreds of videos in the _YYYY/ folder)
Have a good day =-) | [
"It's a good idea. If it looks like that becomes the norm, I'll change the convention."
] |
35 | Problem with handling duplicates with the current New York Times implementation : With Wordle moved to https://www.nytimes.com/games/wordle/index.html, it seems to have changed how duplicates are handled.
For example for puzzle 237, after
crane (yybby)
recur (bygyg). (Before the migration, the color pattern was "yygyg" so it now count the second "R" as not existing instead of misplaced for the answer word "ulcer".
I tried both fixes for handling duplicates but neither seems to have fixed it.
The current wordle.py generates the following error:
Traceback (most recent call last):
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 1141, in objc_method
result = f(py_self, *args)
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/window/cocoa/pyglet_view.py", line 199, in pygletKeyDown_
self._window.dispatch_event('on_key_press', symbol, modifiers)
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/window/__init__.py", line 1352, in dispatch_event
if EventDispatcher.dispatch_event(self, *args) != False:
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/event.py", line 408, in dispatch_event
if handler(*args):
File "/Users/markyoung/Projects/manim/manimlib/window.py", line 106, in on_key_press
self.scene.on_key_press(symbol, modifiers)
File "_2022/wordle.py", line 1449, in on_key_press
super().on_key_press(symbol, modifiers)
File "_2022/wordle.py", line 1190, in on_key_press
super().on_key_press(symbol, modifiers)
File "_2022/wordle.py", line 772, in on_key_press
self.reveal_pattern()
File "_2022/wordle.py", line 1439, in reveal_pattern
super().reveal_pattern(*args, **kwargs)
File "_2022/wordle.py", line 887, in reveal_pattern
did_fill = super().reveal_pattern(pattern, animate)
File "_2022/wordle.py", line 604, in reveal_pattern
self.show_pattern(pattern, animate=animate)
File "_2022/wordle.py", line 915, in show_pattern
self.show_pattern_information(guess, pattern, new_possibilities)
File "_2022/wordle.py", line 925, in show_pattern_information
info = -math.log2(prob)
ValueError: math domain error
| [
"Are you sure the convention actually changed? As I'm checking now, it seems to behave as expected.\r\n\r\nPossibly you are running the code prior to the bug fix referenced in the most recent video?",
"Yes, after synching to the latest branch, it works now. I've made similar hacks before this and managed to get i... |
34 | Problem with scenes.py : I got simulations.py to work but when I run scenes.py nothing happens. There are no errors it just creates a new line and does nothing. I have all the manimgl requirements and have it installed. | [
"Did you run \"manimgl scenes.py\" as opposed to \"python3 scenes.py\" or \"python scenes.py\"?",
"I just did python -m manimlib scenes.py because that is how i got example scenes to work and now its saying there is no module called manim_imports_ext even though it is in my manim folder. What is also weird is tha... |
33 | Issue with installing manimgl : Whenever I try to install manim it comes up with this error, can anyone help?

| [
"Where is the error?\r\nAnd what are you doing?",
"\r\n",
"Please master python before going to use manim.\r\nYou should run the command in the terminal, not to run them as python script...",... |
32 | Running `scenes.py InitialDemo` can't find manimlib : I'm trying to run the Wordle solver, and when I run `scenes.py InitialDemo` I always get an error about not being able to find manimlib. From what I know I have everything I need, so I have no idea why it isn't finding it.
```
Traceback (most recent call last):
File "C:\Users\Noelle\Desktop\Wordle solver\scenes.py", line 1, in <module>
from manim_imports_ext import *
File "C:\Users\Noelle\Desktop\Wordle solver\manim_imports_ext.py", line 1, in <module>
from manimlib import *
ModuleNotFoundError: No module named 'manimlib'
``` | [
"You should load manimgl. is in main branch.\r\nhttps://github.com/3b1b/manim#directly-windows\r\n",
"I didn't edit the file at all, seems it's coming from manim_imports_ext.py, so should I edit that file to replace manimlib with manimgl?",
"Try running \"pip install manimgl\" in your terminal. ",
"Yeah I had... |
31 | Where do you run the Wordle code? : I was wondering where you write the wordle code? is it in python? if so, how do you do it? I've never run manim before or any github code at that, can someone give me a full walkthrough on how to do it
thanks in advance | [
"Do you mean where to find it? The wordle code is under the \"_2022\" directory and it is written on `python` 3. ",
"@dalton77-get I have copied the contents of `wordle/` to the root of this repo so that it can find the `manim_imports_ext` module. I also ran `pip install manimlib`. Now I'm getting the following ... |
30 | [HELP] Errors when running : I'm running into 2 errors while attempting to explore the wordle scenes.
First is the self.presenter_mode, everything runs fine if I replace each instance with False but I assume theres a better way to do this.
Second, self.wait(note=f"different things") gives TypeError: Scene.wait() got an unexpected keyword argument 'note'
Anybody have any insight on these? | [
"By the way, in the scene `WordleScene`, if you add the line `presenter_mode = False`, then it will change everywhere.\r\n\r\n\r\n\r\n",
"This is because there were updates to my branch of manim differen... |
29 | [QUESTION/HELP] - Wordle Solver : I can't for the life of me figure out how to run and use/play with the wordle solver..Nothing here is understandable nor do I know what to do, what goes where, what to install, what to edit, what file to run, what commands to execute, etc...
The "wordle.py" file and it's related stuff is non existent now. Like it got deleted overnight. For idk what reason.. (Idk what file to run.)
A very simple step by step guide would be greatly appreciated for this difficult, confusing and mountainous mess of a repository.
Any help on how to get the wordle solver to run, such as commands and where to run said commands is what I'm looking for.
(I'd ask this in a discussions area but that isn't enabled in this repo.)
God, the more I look at this repo, the code, and trying to figure out how anything works..the more confused and I get xD | [
"@3b1b \r\n\r\nAny advice or help?",
"Can you share more details on what happens if you go into the _2022/wordle/ folder and run \"python simulations.py\"?\r\n\r\nTo run the scenes from _2022/wordle/scenes.py, you'll have to have manim properly set up.",
"@3b1b \r\n> Can you share more details on what happens i... |
27 | Array size in wordle solver. : When attempting to run the wordle code, I get the following error:
ValueError: array is too big; `arr.size * arr.dtype.itemsize` is larger than the maximum possible size.
I think this may be an internal setting, but it crashes at the line:
equality_grid = np.zeros((len(w1), len(w2), n, n), dtype=bool)
when trying to make a 12972 x 12972 array of zeros. Is there a way to overwrite this max size? | [
"Make sure that you are using a 64-bit version of python. I had the same error, but when I upgraded my version of python to a 64-bit one, the error went away."
] |
26 | `manimgl wordle.py InitialDemo` get an error : **AttributeError: 'numpy.ndarray' object has no attribute 'get_coord'**


Package | Version
-- | --
manimgl | v1.2.0 or latest
MiKTeX | v22.1
**System information**
name|Version
-- | --
windows | 10
Python | 3.10.2
1. I have already installed [manimgl](https://github.com/3b1b/manim)
2. I got ` pattern_matrix.npy` by running `python wordle.py`
3. When I ran `manimgl wordle.py InitialDemo`, I got the error, but I don't know where I was wrong | [
"I am experiencing the same issue (with windows 11, python 3.10, latest MikTeX, latest manimgl)",
"Same here - Gave up after this. ",
"You need to switch to the [video-work](https://github.com/3b1b/manim/tree/video-work) branch of the manim repo, which has not yet been merged into the master branch.\r\n\r\n_c:\... |
25 | I get FileNotFound Error about pattern_matrix.npy : <img width="960" alt="Screenshot_43" src="https://user-images.githubusercontent.com/74453352/153049436-af928e8a-14cb-4b19-a8c2-c47c7225c60e.png">
I getting this error , what should i do about this. | [
"Change line 8 to a directory that exists on your machine"
] |
24 | Wordle application is "Killed" : When I try to execute the program via `python3 wordle.py`, I get the following error.

I believe I correctly created the directories necessary for `custom_config.yml`.
| [
"I get the same problem too, has anyone found a fix?\r\n",
"Upon inspecting the generate_pattern_matrix function, it seems it is killed when the for loop between the two print statements runs\r\n\r\n![im... |
23 | generate_pattern_grid overcounts multiples of a correct letter : If a "guess" contains a letter more than once, and that letter appears in the "answer", then it counts that letter however many times it exists in the guess, regardless of how many times it appears in the answer.
Assume the guess is `ayyyy` and the answer is `zazzz`. We should expect to get 🟨⬛⬛⬛⬛. If we run that through generate_pattern_grid, we get:
```
>>> generate_pattern_grid(('ayyyy','zazzz'),('ayyyy','zazzz'))
array([[242, 1],
[ 3, 242]], dtype=uint8)
```
Our expected result must be one of those values.
242<sub>10</sub> == 11111<sub>3</sub>
1<sub>10</sub> == 00001<sub>3</sub>
3<sub>10</sub> == 00010<sub>3</sub>
It appears that the digit-endianness here is opposite "normal" usage. If the assumed guess and answer were swapped, then the result would be ⬛🟨⬛⬛⬛, and that seems to match with 00010, but let's verify quickly that we've got it the right way around:
```
>>> generate_pattern_grid(('ayyyy',),('zazzz',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('zzazz',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('zzzaz',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('zzzza',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('azzzz',))
array([[2]], dtype=uint8)
```
That looks right. The first list is the guesses, and the second list is the answers.
Okay, now let's guess `aaaaa` with the answer being `zazzz`. We should expect that answer to be ⬛🟩⬛⬛⬛, or 00020<sub>3</sub>, or 6<sub>10</sub>. Let's see what the function says:
```
>>> generate_pattern_grid(('aaaaa',),('zazzz',))
array([[124]], dtype=uint8)
```
124<sub>10</sub>, huh? That's 11121<sub>3</sub>, or 🟨🟩🟨🟨🟨.
It appears that if a letter in the guess matches a letter in the answer, it gets to be yellow, no matter if it's been used before or not. Let's try something a little more subtle:
```
>>> generate_pattern_grid(('aayyy',),('zzzza',))
array([[4]], dtype=uint8)
```
4<sub>10</sub> == 00011<sub>3</sub> == 🟨🟨⬛⬛⬛, but it should be either 🟨⬛⬛⬛⬛ or ⬛🟨⬛⬛⬛.
Now lets try it with real words:
```
>>> generate_pattern_grid(('geese',),('camel',))
array([[93]], dtype=uint8)
```
93<sub>10</sub> == 10110<sub>3</sub> = ⬛🟨🟨⬛🟨, and it should only have one 🟨.
The problem seems to be here:
https://github.com/3b1b/videos/blob/ad8427a1eab6e17eb469f42122b8463f5c1a803f/_2022/wordle.py#L183-L185
I'm not sure how to fix this efficiently. | [
"I think I caught all the edge cases while developing my solver; there's a test suite here if that helps https://github.com/pak21/wordle-solver/blob/main/tests/test_signature.py",
"Thanks! This was indeed a meaningful bug. I believe it's fixed now."
] |
22 | Error when trying to run InitialDemo scene : I tried to run the following command similar to what I saw in the video and got the following error. Any idea what I need to do to fix it?
The manimgl was installed from the latest community distribution manually but I tried pip install manimgl with the same issue. Just running "python _2022/wordle.py" is fine though.
manim) markyoung@macbook-pro-3 videos % manimgl _2022/wordle.py InitialDemo
ManimGL v1.4.1
Traceback (most recent call last):
File "/Users/markyoung/opt/anaconda3/envs/manim/bin/manimgl", line 33, in <module>
sys.exit(load_entry_point('manimgl', 'console_scripts', 'manimgl')())
File "/Users/markyoung/Projects/manim/manimlib/__main__.py", line 25, in main
scene.run()
File "/Users/markyoung/Projects/manim/manimlib/scene/scene.py", line 76, in run
self.setup()
File "_2022/wordle.py", line 1406, in setup
super().setup()
File "_2022/wordle.py", line 778, in setup
self.add_guess_value_grid_title()
File "_2022/wordle.py", line 805, in add_guess_value_grid_title
underline.match_y(first.get_bottom() + 0.025 * DOWN)
File "/Users/markyoung/Projects/manim/manimlib/mobject/mobject.py", line 1195, in match_y
return self.match_coord(mobject, 1, direction)
File "/Users/markyoung/Projects/manim/manimlib/mobject/mobject.py", line 1186, in match_coord
mobject.get_coord(dim, direction),
AttributeError: 'numpy.ndarray' object has no attribute 'get_coord' | [
"I don't know what the root cause is, but a workaround for me was to just comment out the `underline.match_y` line since it's just used for visual alignment and the program still works without it",
"I did that too but then ran into another problem after entering the first guess and pattern. That's why I thought m... |
21 | Handling duplicates in guesses and actual word : When there's a duplicate in our guess but there's no or less duplicates in the original word, it should be handled effectively.
**Scenario 1: When the first instance is at the correct position**
Word: ABCDE
Guess: ABACB
Current implementation shows:

Whereas, it should ideally be

**Scenario 2: When the first instance is at the wrong position**
Word: ABCDE
Guess: BADAE
Current implementation shows:

Whereas, it should ideally be

**Special Cases: When the duplicate count is less in the actual word than guess**
Word: ABBCD
Guess: ABCBB
Current implementation shows:

Whereas, it should ideally be

| [
"Have you tested this against the following example?\r\nWord: AABBA\r\nGuess: BABBA\r\nCorrect Answer: ⬛🟩🟩🟩🟩",
"I noticed that the old wordle website follows the behavior coded in the original algorithm. However, after they've moved to the New York Times website, it now handles duplicates differently, ie. it ... |
19 | Fix pattern_trit_generator for duplicate letters : I'm not too familiar with Python but this is a fix for https://github.com/3b1b/videos/issues/15
The Wordle website uses a different algorithm that first checks for correct letters and will ignore duplicates.
A basic example is the word "ABCDE" and the guess "AAAAA"
- Wordle's algorithm gives the result 🟩⬛⬛⬛⬛
- This repo's algorithm gives the result 🟩🟨🟨🟨🟨
An example for the current day's instance is with the guess "ERROR":
- Wordle's algorithm gives the result 🟩⬛⬛⬛🟩
- This repo's algorithm gives the result 🟩🟨🟨⬛🟩
| [
"This fix does not work. For example, for guess 'mocks' and answer 'cigar', this yields ⬛⬛⬛⬛⬛, while the actual result should be ⬛⬛🟨⬛⬛.",
"> This fix does not work. For example, for guess 'mocks' and answer 'cigar', this yields ⬛⬛⬛⬛⬛, while the actual result should be ⬛⬛🟨⬛⬛.\r\n\r\nHmm, I used the source javasc... |
18 | keyError : 'data' from wordle.py : DATA_DIR = os.path.join(get_directories()["data"], "wordle")
KeyError: 'data'
after checking what get_directories() returns, I can't seem to find any key named data
so what is inside this 'data' ? | [
"just so anyone wondering how to get the get_directories() function is by :\r\n\r\n`from manimlib.utils.directories import get_directories`",
"I'm having the same issue. can't seem to find this data directory.",
"It is a setting in the yml file",
"Can anyone help with this?\r\n________________________________... |
17 | Fixes minor typo : | [] |
16 | Wordle Solver Errors (ffmpeg & manim_imports_ext) : So, I tried running the script (OS: Kali Linux) and ran into some errors, I fixed those by moving the packages to the correct files, but now I get this:
```
┌──(alastor㉿localhost)-[~/videos/_2022]
└─$ python3.9 ./wordle.py
/home/alastor/.local/lib/python3.9/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "/home/alastor/videos/_2022/./wordle.py", line 1, in <module>
from manim_imports_ext import *
File "/usr/lib/python3.9/dist-packages/manim_imports_ext.py", line 3, in <module>
from custom.backdrops import *
File "/usr/lib/python3.9/dist-packages/custom/backdrops.py", line 10, in <module>
from manimlib.mobject.svg.tex_mobject import TexText
ImportError: cannot import name 'TexText' from 'manimlib.mobject.svg.tex_mobject' (/home/alastor/.local/lib/python3.9/site-packages/manimlib/mobject/svg/tex_mobject.py)
```
The reason for this (to me) is unknown, I have tried some basic research on it but to no avail
I even ran
```
pip3 install ffmpeg
```
in which ffmpeg 1.4 was installed but it still did not help | [
"for the TexText problem it's because I tried doing \r\n\r\npip install manimlib\r\n\r\ni fixed it by doing\r\n\r\npip install manimgl\r\n\r\n\r\n\r\nmy new problem right now is :\r\n\r\nDATA_DIR = os.path.join(get_directories()[\"data\"], \"wordle\")\r\nKeyError: 'data\r\n\r\n\r\nafter checking what returns from g... |
14 | Number recognition issue : Funny issue, the example in chapter 1, _"But what is a Neural Network?"_ [here](https://www.3blue1brown.com/lessons/neural-networks) powered by [this](https://github.com/3b1b/videos/blob/master/_2017/nn/part1.py) file recognizes short-tailed 5's as 3's.
<img width="770" alt="Screen Shot 2021-12-31 at 15 19 GMT" src="https://user-images.githubusercontent.com/4477702/147830281-2a24ae94-bd27-46c8-9be7-2b7a8c393889.png"> | [
"How interesting! I suppose it's a quirk of how this particular network was trained, and a good lesson in why old-fashioned multilayered perceptrons have a lot of room for improvement :)"
] |
13 | How to compile _2016/eola? : I'd like to run scenes from EoLA. I understood that EoLA was a bit too old to run with manimgl 1.2.0. So I checked out this particular commit:
commit 73ff0af63de1cd382e1c8552aa1c97d07e4e8744
Author: Grant Sanderson <grantsanderson7@gmail.com>
Date: Sat Sep 24 22:46:17 2016 -0700
End of EoLA
to get to the state when EoLA was completed.
But it seems to me that codes under _2016/eola have been updated for newer versions of manim even though they are not fully updated yet so that they can be run without changing anything. Therefore they can not be run with the above commit of manim either.
Would it be possible to get the version of EoLA source code as it exactly was when the above particular commit was made? | [
"At that point, all the video code was in the manim repo, so you'd want to look for the version that existed there."
] |
11 | Missing shader files for fractal animations : The python code refers to a `shader_folder` location, but the corresponding shaders haven't been uploaded.
Example folder reference:
https://github.com/3b1b/videos/blob/33c013391e7d21cade15729eee7ebf75a37a8d54/_2021/newton_fractal.py#L72-L74 | [
"This should be updated now."
] |
9 | could you make more lesson about that 2d to 3d and 2d to 3d through camera : Thank you for all intuition and beautiful lessons, but some others , such as 2d to 3d and 2d to 3d through camera, intrsic matrix, extern matrix, how to know 2d plane project camera etc, I don't understand.
could you make lessons more about it.
thank you | [
"The place I turn to in looking for video requests is the top thread on [this subreddit](https://www.reddit.com/r/3blue1brown)"
] |
8 | Editing one graph edits all : Not sure if this is the best place to mention this. The interactive Fourier transform page has an oddity: if you edit the frequency selection in one interactive graph, all of them change the red lines. The white dot that tracks the mouse still uses the specific graph's frequency set, but it's running across an incorrect red line that belongs on a different graph. | [
"Thanks for letting me know, feel free to raise the issue (or to make a pull request) on [this repo](https://github.com/3b1b/3Blue1Brown.com/)"
] |
7 | Starting the different files : Hi guys.
I have a completely basic question. How can I start the different Python scripts. Manim is properly installed and ready to run. However, I don't know how to proceed here. Can you help me?
With kind regards
@Zeyecx
````shell
PS C:\...\videos> python .\_2020\chess.py
Traceback (most recent call last):
File "C:\Users\Zeyecx\Desktop\tmp\videos\_2020\chess.py", line 1, in <module>
from manim_imports_ext import *
ModuleNotFoundError: No module named 'manim_imports_ext'
````
Even in manim itself, I cannot start the project.
```shell
PS C:\...\videos> manim .\_2020\chess.py
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\programdata\anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\Scripts\manim.exe\__main__.py", line 7, in <module>
File "c:\programdata\anaconda3\lib\site-packages\manimlib\__init__.py", line 9, in main
config = manimlib.config.get_configuration(args)
File "c:\programdata\anaconda3\lib\site-packages\manimlib\config.py", line 155, in get_configuration
module = get_module(args.file)
File "c:\programdata\anaconda3\lib\site-packages\manimlib\config.py", line 150, in get_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File ".\_2020\chess.py", line 1, in <module>
from manim_imports_ext import *
ModuleNotFoundError: No module named 'manim_imports_ext'
``` | [
"Me too",
"Adding the folder where the manim_imports_ext.py file is located to the `PATH` or `PYTHONPATH` environment variable may solve this.",
"> Adding the folder where the manim_imports_ext.py file is located to the `PATH` or `PYTHONPATH` environment variable may solve this.\r\n\r\n# Thxxxx! \r\nI ll Try"... |
6 | MovingCameraScene : Hello,
some older cases don't work anymore, since MovingCameraScene was removed:
Example:
```
$ python _2019/diffyq/all_part1_scenes.py
Traceback (most recent call last):
File "/home/volker/cloned/videos/_2019/diffyq/all_part1_scenes.py", line 1, in <module>
from _2019.diffyq.part1.pendulum import *
File "/home/volker/cloned/videos/_2019/diffyq/part1/pendulum.py", line 357, in <module>
class IntroducePendulum(PiCreatureScene, MovingCameraScene):
NameError: name 'MovingCameraScene' is not defined
```
```
[volker@battle 3b1b]$ rg MovingCamera
docs/source/getting_started/whatsnew.rst:29: - Removed all camera classes except ``Camera`` (``MappingCamera``, ``MovingCamera``, ``MultiCamera``) and all functions in ``ThreeDCamera``
docs/source/getting_started/whatsnew.rst:123: - Removed all functions of ``GraphScene`` (moved to ``once_useful_constructs``), ``MovingCameraScene``, ``ReconfigurableScene``, ``SceneFromVideo``, ``ZoomedScene``, and ``ThreeDScene``. Because these can basically be achieved by adjusting ``CameraFrame`` (``self.camera.frame``)
``` | [
"As mentioned in the [Manim Community Documentation](https://docs.manim.community/en/stable/installation/versions.html#which-version-to-use),\r\n\r\n> If you would like to render old 3Blue1Brown projects (2019 and before), you should use ManimCairo.\r\n\r\nAlso, \r\n> ManimCairo: The old version of manim originally... |
5 | fix grammar in README : | [] |
4 | Remove pyc blobs and DS_Store from history : Blocked by #3
Currently, cloning the repo can be quite slow. This is probably because of the Python bytecode blobs that were originally added (but later removed). As these are still in the commit history, the repo is still bloated. Using something like [BFG](https://rtyley.github.io/bfg-repo-cleaner/) you could remove all the remnants of both the `*.pyc` and the `.DS_Store` files. As this repo is unlikely to get large code-based external PRs, rewriting history shouldn't have an effect on others. Note that BFG doesn't clean the HEAD commit but all commits before it so there would need to be a non-ignored-removing commit before using it.
Example:
```bash
git clone --mirror https://github.com/3b1b/videos.git
bfg --delete-files '{.DS_Store,*.pyc}' videos.git
cd videos.git
git reflog expire --expire=now --all
git gc --prune=now --aggressive
git push --force
```
After doing this it is recommended to delete your other (previous) clones and run `git clone` again. | [
"Thanks for addressing this."
] |
3 | Remove .DS_Store : | [] |
2 | Created standard python gitignore file. Cleared non-vcs files and directories. : | [
"Looks like this was just handled in another PR"
] |
1 | Added gitignore and removed all the unnecessary files : | [
"Could just as well just add in the whole GitHub gitignore to ignore for the standard cache and other things such as env ...etc.\r\nhttps://github.com/github/gitignore/blob/master/Python.gitignore",
"@skandix I didn't do it at first as the original `manim` repository also had a custom one, but it's actually a goo... |
67 | cant install 'custom' : ![Uploading image.png…]()
| [
"(base) PS C:\\Users\\conlin24\\Desktop\\work\\videos-master> pip install custom \r\nDefaulting to user installation because normal site-packages is not writeable\r\nCollecting custom\r\n Using cached custom-0.1.1.tar.gz (2.4 kB)\r\n Preparing metadata (setup.py) ... error\r\n error: subprocess-exited-w... |
65 | Update Copyright Year to 2023 : Updated copyright year to 2023. | [] |
55 | Ideas : | [] |
54 | Update README.md : Update to year. | [] |
49 | Probability distribution of patterns and entropy calculation : As per the source code below, to calculate the pattern distribution, it uses _possible_words_ to generate the distribution. Instead, shouldn't we use _allowed_words_ for this, since any of the allowed words can be generating a given pattern.
ie: the function call should be get_pattern_matrix(allowed_words, allowed_words) ??
```
def get_pattern_distributions(allowed_words, possible_words, weights):
"""
For each possible guess in allowed_words, this finds the probability
distribution across all of the 3^5 wordle patterns you could see, assuming
the possible answers are in possible_words with associated probabilities
in weights.
It considers the pattern hash grid between the two lists of words, and uses
that to bucket together words from possible_words which would produce
the same pattern, adding together their corresponding probabilities.
"""
pattern_matrix = get_pattern_matrix(allowed_words, possible_words)
```
| [
"Got this sorted. The codebase as it is, is correct\r\n\r\nLets say I choose the word CRANE. \r\nIn order to get all greys, it means that the ANSWER shud not have any of the letters in “crane”. So the probability of getting all greys is the number of ANSWER WORDS without any of the letters in “crane” divided by the... |
42 | Update possible_words to reflect changes by NYT : | [] |
41 | Wordle no output : When running the scenes.py using:
`python scenes.py`
I get an error saying no module manimlib
and when i use:
`manimgl scenes.py`
I get no output then it says manimgl v1.4.1 and it tells me some info about the configuration.
any ideas?

| [
"Firstly include [custom_config.yml](https://github.com/3b1b/videos/blob/master/custom_config.yml) into the same folder as scenes.py.\r\n\r\nRun:\r\n`manimgl scenes.py InitialDemo`",
"Now it just Says the version of ManimGL\r\n
`
| [
"The scene ordering probably changed since you submitted this, can you share the name of the relevant scene?",
"Im having the same problem. It is scene 76 now called \"WrapperForEntropyCalculation\"",
"Ah, a few things seem amiss then. I suspect something about how it's rendering LaTeX isn't working right, si... |
37 | Update Copyright : | [] |
36 | Creating one folder per video to avoid broken links ? : Taking as an example the last video about Worlde : originally, the link in the youtube video's description was [this one](https://github.com/3b1b/videos/blob/master/_2022/wordle.py). It has since been updated to [that one](https://github.com/3b1b/videos/tree/master/_2022/wordle) in the description, but someone who would have saved the link somewhere else would face a 404 by trying to access it. For instance, on Grant's website the github link to the source code is still [the old one](https://www.3blue1brown.com/lessons/wordle) (broken).
To avoid such situations where a video's code switches from a standalone file to a folder of files (refactor, more details, adding data, ...), maybe it could be a good idea to create a dedicated folder for each video, whatever how many files it contains.
I don't know how often it happens, maybe this is too occasional to be a matter. Plus it is not too hard to fix the link when you have the wrong one (unless there are hundreds of videos in the _YYYY/ folder)
Have a good day =-) | [
"It's a good idea. If it looks like that becomes the norm, I'll change the convention."
] |
35 | Problem with handling duplicates with the current New York Times implementation : With Wordle moved to https://www.nytimes.com/games/wordle/index.html, it seems to have changed how duplicates are handled.
For example for puzzle 237, after
crane (yybby)
recur (bygyg). (Before the migration, the color pattern was "yygyg" so it now count the second "R" as not existing instead of misplaced for the answer word "ulcer".
I tried both fixes for handling duplicates but neither seems to have fixed it.
The current wordle.py generates the following error:
Traceback (most recent call last):
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/libs/darwin/cocoapy/runtime.py", line 1141, in objc_method
result = f(py_self, *args)
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/window/cocoa/pyglet_view.py", line 199, in pygletKeyDown_
self._window.dispatch_event('on_key_press', symbol, modifiers)
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/window/__init__.py", line 1352, in dispatch_event
if EventDispatcher.dispatch_event(self, *args) != False:
File "/Users/markyoung/opt/anaconda3/envs/manim/lib/python3.8/site-packages/pyglet/event.py", line 408, in dispatch_event
if handler(*args):
File "/Users/markyoung/Projects/manim/manimlib/window.py", line 106, in on_key_press
self.scene.on_key_press(symbol, modifiers)
File "_2022/wordle.py", line 1449, in on_key_press
super().on_key_press(symbol, modifiers)
File "_2022/wordle.py", line 1190, in on_key_press
super().on_key_press(symbol, modifiers)
File "_2022/wordle.py", line 772, in on_key_press
self.reveal_pattern()
File "_2022/wordle.py", line 1439, in reveal_pattern
super().reveal_pattern(*args, **kwargs)
File "_2022/wordle.py", line 887, in reveal_pattern
did_fill = super().reveal_pattern(pattern, animate)
File "_2022/wordle.py", line 604, in reveal_pattern
self.show_pattern(pattern, animate=animate)
File "_2022/wordle.py", line 915, in show_pattern
self.show_pattern_information(guess, pattern, new_possibilities)
File "_2022/wordle.py", line 925, in show_pattern_information
info = -math.log2(prob)
ValueError: math domain error
| [
"Are you sure the convention actually changed? As I'm checking now, it seems to behave as expected.\r\n\r\nPossibly you are running the code prior to the bug fix referenced in the most recent video?",
"Yes, after synching to the latest branch, it works now. I've made similar hacks before this and managed to get i... |
34 | Problem with scenes.py : I got simulations.py to work but when I run scenes.py nothing happens. There are no errors it just creates a new line and does nothing. I have all the manimgl requirements and have it installed. | [
"Did you run \"manimgl scenes.py\" as opposed to \"python3 scenes.py\" or \"python scenes.py\"?",
"I just did python -m manimlib scenes.py because that is how i got example scenes to work and now its saying there is no module called manim_imports_ext even though it is in my manim folder. What is also weird is tha... |
33 | Issue with installing manimgl : Whenever I try to install manim it comes up with this error, can anyone help?

| [
"Where is the error?\r\nAnd what are you doing?",
"\r\n",
"Please master python before going to use manim.\r\nYou should run the command in the terminal, not to run them as python script...",... |
32 | Running `scenes.py InitialDemo` can't find manimlib : I'm trying to run the Wordle solver, and when I run `scenes.py InitialDemo` I always get an error about not being able to find manimlib. From what I know I have everything I need, so I have no idea why it isn't finding it.
```
Traceback (most recent call last):
File "C:\Users\Noelle\Desktop\Wordle solver\scenes.py", line 1, in <module>
from manim_imports_ext import *
File "C:\Users\Noelle\Desktop\Wordle solver\manim_imports_ext.py", line 1, in <module>
from manimlib import *
ModuleNotFoundError: No module named 'manimlib'
``` | [
"You should load manimgl. is in main branch.\r\nhttps://github.com/3b1b/manim#directly-windows\r\n",
"I didn't edit the file at all, seems it's coming from manim_imports_ext.py, so should I edit that file to replace manimlib with manimgl?",
"Try running \"pip install manimgl\" in your terminal. ",
"Yeah I had... |
31 | Where do you run the Wordle code? : I was wondering where you write the wordle code? is it in python? if so, how do you do it? I've never run manim before or any github code at that, can someone give me a full walkthrough on how to do it
thanks in advance | [
"Do you mean where to find it? The wordle code is under the \"_2022\" directory and it is written on `python` 3. ",
"@dalton77-get I have copied the contents of `wordle/` to the root of this repo so that it can find the `manim_imports_ext` module. I also ran `pip install manimlib`. Now I'm getting the following ... |
30 | [HELP] Errors when running : I'm running into 2 errors while attempting to explore the wordle scenes.
First is the self.presenter_mode, everything runs fine if I replace each instance with False but I assume theres a better way to do this.
Second, self.wait(note=f"different things") gives TypeError: Scene.wait() got an unexpected keyword argument 'note'
Anybody have any insight on these? | [
"By the way, in the scene `WordleScene`, if you add the line `presenter_mode = False`, then it will change everywhere.\r\n\r\n\r\n\r\n",
"This is because there were updates to my branch of manim differen... |
29 | [QUESTION/HELP] - Wordle Solver : I can't for the life of me figure out how to run and use/play with the wordle solver..Nothing here is understandable nor do I know what to do, what goes where, what to install, what to edit, what file to run, what commands to execute, etc...
The "wordle.py" file and it's related stuff is non existent now. Like it got deleted overnight. For idk what reason.. (Idk what file to run.)
A very simple step by step guide would be greatly appreciated for this difficult, confusing and mountainous mess of a repository.
Any help on how to get the wordle solver to run, such as commands and where to run said commands is what I'm looking for.
(I'd ask this in a discussions area but that isn't enabled in this repo.)
God, the more I look at this repo, the code, and trying to figure out how anything works..the more confused and I get xD | [
"@3b1b \r\n\r\nAny advice or help?",
"Can you share more details on what happens if you go into the _2022/wordle/ folder and run \"python simulations.py\"?\r\n\r\nTo run the scenes from _2022/wordle/scenes.py, you'll have to have manim properly set up.",
"@3b1b \r\n> Can you share more details on what happens i... |
27 | Array size in wordle solver. : When attempting to run the wordle code, I get the following error:
ValueError: array is too big; `arr.size * arr.dtype.itemsize` is larger than the maximum possible size.
I think this may be an internal setting, but it crashes at the line:
equality_grid = np.zeros((len(w1), len(w2), n, n), dtype=bool)
when trying to make a 12972 x 12972 array of zeros. Is there a way to overwrite this max size? | [
"Make sure that you are using a 64-bit version of python. I had the same error, but when I upgraded my version of python to a 64-bit one, the error went away."
] |
26 | `manimgl wordle.py InitialDemo` get an error : **AttributeError: 'numpy.ndarray' object has no attribute 'get_coord'**


Package | Version
-- | --
manimgl | v1.2.0 or latest
MiKTeX | v22.1
**System information**
name|Version
-- | --
windows | 10
Python | 3.10.2
1. I have already installed [manimgl](https://github.com/3b1b/manim)
2. I got ` pattern_matrix.npy` by running `python wordle.py`
3. When I ran `manimgl wordle.py InitialDemo`, I got the error, but I don't know where I was wrong | [
"I am experiencing the same issue (with windows 11, python 3.10, latest MikTeX, latest manimgl)",
"Same here - Gave up after this. ",
"You need to switch to the [video-work](https://github.com/3b1b/manim/tree/video-work) branch of the manim repo, which has not yet been merged into the master branch.\r\n\r\n_c:\... |
25 | I get FileNotFound Error about pattern_matrix.npy : <img width="960" alt="Screenshot_43" src="https://user-images.githubusercontent.com/74453352/153049436-af928e8a-14cb-4b19-a8c2-c47c7225c60e.png">
I getting this error , what should i do about this. | [
"Change line 8 to a directory that exists on your machine"
] |
24 | Wordle application is "Killed" : When I try to execute the program via `python3 wordle.py`, I get the following error.

I believe I correctly created the directories necessary for `custom_config.yml`.
| [
"I get the same problem too, has anyone found a fix?\r\n",
"Upon inspecting the generate_pattern_matrix function, it seems it is killed when the for loop between the two print statements runs\r\n\r\n![im... |
23 | generate_pattern_grid overcounts multiples of a correct letter : If a "guess" contains a letter more than once, and that letter appears in the "answer", then it counts that letter however many times it exists in the guess, regardless of how many times it appears in the answer.
Assume the guess is `ayyyy` and the answer is `zazzz`. We should expect to get 🟨⬛⬛⬛⬛. If we run that through generate_pattern_grid, we get:
```
>>> generate_pattern_grid(('ayyyy','zazzz'),('ayyyy','zazzz'))
array([[242, 1],
[ 3, 242]], dtype=uint8)
```
Our expected result must be one of those values.
242<sub>10</sub> == 11111<sub>3</sub>
1<sub>10</sub> == 00001<sub>3</sub>
3<sub>10</sub> == 00010<sub>3</sub>
It appears that the digit-endianness here is opposite "normal" usage. If the assumed guess and answer were swapped, then the result would be ⬛🟨⬛⬛⬛, and that seems to match with 00010, but let's verify quickly that we've got it the right way around:
```
>>> generate_pattern_grid(('ayyyy',),('zazzz',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('zzazz',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('zzzaz',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('zzzza',))
array([[1]], dtype=uint8)
>>> generate_pattern_grid(('ayyyy',),('azzzz',))
array([[2]], dtype=uint8)
```
That looks right. The first list is the guesses, and the second list is the answers.
Okay, now let's guess `aaaaa` with the answer being `zazzz`. We should expect that answer to be ⬛🟩⬛⬛⬛, or 00020<sub>3</sub>, or 6<sub>10</sub>. Let's see what the function says:
```
>>> generate_pattern_grid(('aaaaa',),('zazzz',))
array([[124]], dtype=uint8)
```
124<sub>10</sub>, huh? That's 11121<sub>3</sub>, or 🟨🟩🟨🟨🟨.
It appears that if a letter in the guess matches a letter in the answer, it gets to be yellow, no matter if it's been used before or not. Let's try something a little more subtle:
```
>>> generate_pattern_grid(('aayyy',),('zzzza',))
array([[4]], dtype=uint8)
```
4<sub>10</sub> == 00011<sub>3</sub> == 🟨🟨⬛⬛⬛, but it should be either 🟨⬛⬛⬛⬛ or ⬛🟨⬛⬛⬛.
Now lets try it with real words:
```
>>> generate_pattern_grid(('geese',),('camel',))
array([[93]], dtype=uint8)
```
93<sub>10</sub> == 10110<sub>3</sub> = ⬛🟨🟨⬛🟨, and it should only have one 🟨.
The problem seems to be here:
https://github.com/3b1b/videos/blob/ad8427a1eab6e17eb469f42122b8463f5c1a803f/_2022/wordle.py#L183-L185
I'm not sure how to fix this efficiently. | [
"I think I caught all the edge cases while developing my solver; there's a test suite here if that helps https://github.com/pak21/wordle-solver/blob/main/tests/test_signature.py",
"Thanks! This was indeed a meaningful bug. I believe it's fixed now."
] |
22 | Error when trying to run InitialDemo scene : I tried to run the following command similar to what I saw in the video and got the following error. Any idea what I need to do to fix it?
The manimgl was installed from the latest community distribution manually but I tried pip install manimgl with the same issue. Just running "python _2022/wordle.py" is fine though.
manim) markyoung@macbook-pro-3 videos % manimgl _2022/wordle.py InitialDemo
ManimGL v1.4.1
Traceback (most recent call last):
File "/Users/markyoung/opt/anaconda3/envs/manim/bin/manimgl", line 33, in <module>
sys.exit(load_entry_point('manimgl', 'console_scripts', 'manimgl')())
File "/Users/markyoung/Projects/manim/manimlib/__main__.py", line 25, in main
scene.run()
File "/Users/markyoung/Projects/manim/manimlib/scene/scene.py", line 76, in run
self.setup()
File "_2022/wordle.py", line 1406, in setup
super().setup()
File "_2022/wordle.py", line 778, in setup
self.add_guess_value_grid_title()
File "_2022/wordle.py", line 805, in add_guess_value_grid_title
underline.match_y(first.get_bottom() + 0.025 * DOWN)
File "/Users/markyoung/Projects/manim/manimlib/mobject/mobject.py", line 1195, in match_y
return self.match_coord(mobject, 1, direction)
File "/Users/markyoung/Projects/manim/manimlib/mobject/mobject.py", line 1186, in match_coord
mobject.get_coord(dim, direction),
AttributeError: 'numpy.ndarray' object has no attribute 'get_coord' | [
"I don't know what the root cause is, but a workaround for me was to just comment out the `underline.match_y` line since it's just used for visual alignment and the program still works without it",
"I did that too but then ran into another problem after entering the first guess and pattern. That's why I thought m... |
21 | Handling duplicates in guesses and actual word : When there's a duplicate in our guess but there's no or less duplicates in the original word, it should be handled effectively.
**Scenario 1: When the first instance is at the correct position**
Word: ABCDE
Guess: ABACB
Current implementation shows:

Whereas, it should ideally be

**Scenario 2: When the first instance is at the wrong position**
Word: ABCDE
Guess: BADAE
Current implementation shows:

Whereas, it should ideally be

**Special Cases: When the duplicate count is less in the actual word than guess**
Word: ABBCD
Guess: ABCBB
Current implementation shows:

Whereas, it should ideally be

| [
"Have you tested this against the following example?\r\nWord: AABBA\r\nGuess: BABBA\r\nCorrect Answer: ⬛🟩🟩🟩🟩",
"I noticed that the old wordle website follows the behavior coded in the original algorithm. However, after they've moved to the New York Times website, it now handles duplicates differently, ie. it ... |
19 | Fix pattern_trit_generator for duplicate letters : I'm not too familiar with Python but this is a fix for https://github.com/3b1b/videos/issues/15
The Wordle website uses a different algorithm that first checks for correct letters and will ignore duplicates.
A basic example is the word "ABCDE" and the guess "AAAAA"
- Wordle's algorithm gives the result 🟩⬛⬛⬛⬛
- This repo's algorithm gives the result 🟩🟨🟨🟨🟨
An example for the current day's instance is with the guess "ERROR":
- Wordle's algorithm gives the result 🟩⬛⬛⬛🟩
- This repo's algorithm gives the result 🟩🟨🟨⬛🟩
| [
"This fix does not work. For example, for guess 'mocks' and answer 'cigar', this yields ⬛⬛⬛⬛⬛, while the actual result should be ⬛⬛🟨⬛⬛.",
"> This fix does not work. For example, for guess 'mocks' and answer 'cigar', this yields ⬛⬛⬛⬛⬛, while the actual result should be ⬛⬛🟨⬛⬛.\r\n\r\nHmm, I used the source javasc... |
18 | keyError : 'data' from wordle.py : DATA_DIR = os.path.join(get_directories()["data"], "wordle")
KeyError: 'data'
after checking what get_directories() returns, I can't seem to find any key named data
so what is inside this 'data' ? | [
"just so anyone wondering how to get the get_directories() function is by :\r\n\r\n`from manimlib.utils.directories import get_directories`",
"I'm having the same issue. can't seem to find this data directory.",
"It is a setting in the yml file",
"Can anyone help with this?\r\n________________________________... |
17 | Fixes minor typo : | [] |
16 | Wordle Solver Errors (ffmpeg & manim_imports_ext) : So, I tried running the script (OS: Kali Linux) and ran into some errors, I fixed those by moving the packages to the correct files, but now I get this:
```
┌──(alastor㉿localhost)-[~/videos/_2022]
└─$ python3.9 ./wordle.py
/home/alastor/.local/lib/python3.9/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "/home/alastor/videos/_2022/./wordle.py", line 1, in <module>
from manim_imports_ext import *
File "/usr/lib/python3.9/dist-packages/manim_imports_ext.py", line 3, in <module>
from custom.backdrops import *
File "/usr/lib/python3.9/dist-packages/custom/backdrops.py", line 10, in <module>
from manimlib.mobject.svg.tex_mobject import TexText
ImportError: cannot import name 'TexText' from 'manimlib.mobject.svg.tex_mobject' (/home/alastor/.local/lib/python3.9/site-packages/manimlib/mobject/svg/tex_mobject.py)
```
The reason for this (to me) is unknown, I have tried some basic research on it but to no avail
I even ran
```
pip3 install ffmpeg
```
in which ffmpeg 1.4 was installed but it still did not help | [
"for the TexText problem it's because I tried doing \r\n\r\npip install manimlib\r\n\r\ni fixed it by doing\r\n\r\npip install manimgl\r\n\r\n\r\n\r\nmy new problem right now is :\r\n\r\nDATA_DIR = os.path.join(get_directories()[\"data\"], \"wordle\")\r\nKeyError: 'data\r\n\r\n\r\nafter checking what returns from g... |
14 | Number recognition issue : Funny issue, the example in chapter 1, _"But what is a Neural Network?"_ [here](https://www.3blue1brown.com/lessons/neural-networks) powered by [this](https://github.com/3b1b/videos/blob/master/_2017/nn/part1.py) file recognizes short-tailed 5's as 3's.
<img width="770" alt="Screen Shot 2021-12-31 at 15 19 GMT" src="https://user-images.githubusercontent.com/4477702/147830281-2a24ae94-bd27-46c8-9be7-2b7a8c393889.png"> | [
"How interesting! I suppose it's a quirk of how this particular network was trained, and a good lesson in why old-fashioned multilayered perceptrons have a lot of room for improvement :)"
] |
13 | How to compile _2016/eola? : I'd like to run scenes from EoLA. I understood that EoLA was a bit too old to run with manimgl 1.2.0. So I checked out this particular commit:
commit 73ff0af63de1cd382e1c8552aa1c97d07e4e8744
Author: Grant Sanderson <grantsanderson7@gmail.com>
Date: Sat Sep 24 22:46:17 2016 -0700
End of EoLA
to get to the state when EoLA was completed.
But it seems to me that codes under _2016/eola have been updated for newer versions of manim even though they are not fully updated yet so that they can be run without changing anything. Therefore they can not be run with the above commit of manim either.
Would it be possible to get the version of EoLA source code as it exactly was when the above particular commit was made? | [
"At that point, all the video code was in the manim repo, so you'd want to look for the version that existed there."
] |
11 | Missing shader files for fractal animations : The python code refers to a `shader_folder` location, but the corresponding shaders haven't been uploaded.
Example folder reference:
https://github.com/3b1b/videos/blob/33c013391e7d21cade15729eee7ebf75a37a8d54/_2021/newton_fractal.py#L72-L74 | [
"This should be updated now."
] |
9 | could you make more lesson about that 2d to 3d and 2d to 3d through camera : Thank you for all intuition and beautiful lessons, but some others , such as 2d to 3d and 2d to 3d through camera, intrsic matrix, extern matrix, how to know 2d plane project camera etc, I don't understand.
could you make lessons more about it.
thank you | [
"The place I turn to in looking for video requests is the top thread on [this subreddit](https://www.reddit.com/r/3blue1brown)"
] |
8 | Editing one graph edits all : Not sure if this is the best place to mention this. The interactive Fourier transform page has an oddity: if you edit the frequency selection in one interactive graph, all of them change the red lines. The white dot that tracks the mouse still uses the specific graph's frequency set, but it's running across an incorrect red line that belongs on a different graph. | [
"Thanks for letting me know, feel free to raise the issue (or to make a pull request) on [this repo](https://github.com/3b1b/3Blue1Brown.com/)"
] |
7 | Starting the different files : Hi guys.
I have a completely basic question. How can I start the different Python scripts. Manim is properly installed and ready to run. However, I don't know how to proceed here. Can you help me?
With kind regards
@Zeyecx
````shell
PS C:\...\videos> python .\_2020\chess.py
Traceback (most recent call last):
File "C:\Users\Zeyecx\Desktop\tmp\videos\_2020\chess.py", line 1, in <module>
from manim_imports_ext import *
ModuleNotFoundError: No module named 'manim_imports_ext'
````
Even in manim itself, I cannot start the project.
```shell
PS C:\...\videos> manim .\_2020\chess.py
Traceback (most recent call last):
File "c:\programdata\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\programdata\anaconda3\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\Scripts\manim.exe\__main__.py", line 7, in <module>
File "c:\programdata\anaconda3\lib\site-packages\manimlib\__init__.py", line 9, in main
config = manimlib.config.get_configuration(args)
File "c:\programdata\anaconda3\lib\site-packages\manimlib\config.py", line 155, in get_configuration
module = get_module(args.file)
File "c:\programdata\anaconda3\lib\site-packages\manimlib\config.py", line 150, in get_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File ".\_2020\chess.py", line 1, in <module>
from manim_imports_ext import *
ModuleNotFoundError: No module named 'manim_imports_ext'
``` | [
"Me too",
"Adding the folder where the manim_imports_ext.py file is located to the `PATH` or `PYTHONPATH` environment variable may solve this.",
"> Adding the folder where the manim_imports_ext.py file is located to the `PATH` or `PYTHONPATH` environment variable may solve this.\r\n\r\n# Thxxxx! \r\nI ll Try"... |
6 | MovingCameraScene : Hello,
some older cases don't work anymore, since MovingCameraScene was removed:
Example:
```
$ python _2019/diffyq/all_part1_scenes.py
Traceback (most recent call last):
File "/home/volker/cloned/videos/_2019/diffyq/all_part1_scenes.py", line 1, in <module>
from _2019.diffyq.part1.pendulum import *
File "/home/volker/cloned/videos/_2019/diffyq/part1/pendulum.py", line 357, in <module>
class IntroducePendulum(PiCreatureScene, MovingCameraScene):
NameError: name 'MovingCameraScene' is not defined
```
```
[volker@battle 3b1b]$ rg MovingCamera
docs/source/getting_started/whatsnew.rst:29: - Removed all camera classes except ``Camera`` (``MappingCamera``, ``MovingCamera``, ``MultiCamera``) and all functions in ``ThreeDCamera``
docs/source/getting_started/whatsnew.rst:123: - Removed all functions of ``GraphScene`` (moved to ``once_useful_constructs``), ``MovingCameraScene``, ``ReconfigurableScene``, ``SceneFromVideo``, ``ZoomedScene``, and ``ThreeDScene``. Because these can basically be achieved by adjusting ``CameraFrame`` (``self.camera.frame``)
``` | [
"As mentioned in the [Manim Community Documentation](https://docs.manim.community/en/stable/installation/versions.html#which-version-to-use),\r\n\r\n> If you would like to render old 3Blue1Brown projects (2019 and before), you should use ManimCairo.\r\n\r\nAlso, \r\n> ManimCairo: The old version of manim originally... |
5 | fix grammar in README : | [] |
4 | Remove pyc blobs and DS_Store from history : Blocked by #3
Currently, cloning the repo can be quite slow. This is probably because of the Python bytecode blobs that were originally added (but later removed). As these are still in the commit history, the repo is still bloated. Using something like [BFG](https://rtyley.github.io/bfg-repo-cleaner/) you could remove all the remnants of both the `*.pyc` and the `.DS_Store` files. As this repo is unlikely to get large code-based external PRs, rewriting history shouldn't have an effect on others. Note that BFG doesn't clean the HEAD commit but all commits before it so there would need to be a non-ignored-removing commit before using it.
Example:
```bash
git clone --mirror https://github.com/3b1b/videos.git
bfg --delete-files '{.DS_Store,*.pyc}' videos.git
cd videos.git
git reflog expire --expire=now --all
git gc --prune=now --aggressive
git push --force
```
After doing this it is recommended to delete your other (previous) clones and run `git clone` again. | [
"Thanks for addressing this."
] |
3 | Remove .DS_Store : | [] |
2 | Created standard python gitignore file. Cleared non-vcs files and directories. : | [
"Looks like this was just handled in another PR"
] |
1 | Added gitignore and removed all the unnecessary files : | [
"Could just as well just add in the whole GitHub gitignore to ignore for the standard cache and other things such as env ...etc.\r\nhttps://github.com/github/gitignore/blob/master/Python.gitignore",
"@skandix I didn't do it at first as the original `manim` repository also had a custom one, but it's actually a goo... |
README.md exists but content is empty.
- Downloads last month
- 6