mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
Added Text examples, Annotations, and some other additional things Co-authored-by: Leo Torres <leo@leotrs.com> Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
14 lines
472 B
ReStructuredText
14 lines
472 B
ReStructuredText
Text
|
|
=================================
|
|
|
|
.. manim:: Example1Text
|
|
:save_last_frame:
|
|
|
|
class Example1Text(Scene):
|
|
def construct(self):
|
|
text = Text('Hello world').scale(3)
|
|
self.add(text)
|
|
|
|
This is an example that illustrates how to use the :class:`~.Text` class.
|
|
|
|
In case you want to use other alphabets like `你好` or `こんにちは` or `안녕하세요` or `مرحبا بالعالم`, you can have a look at :class:`~.PangoText`
|