MCPcopy Index your code
hub / github.com/initialcommit-com/git-sim / show_intro

Method show_intro

src/git_sim/git_sim_base_command.py:193–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

191 self.parse_commits(self.get_commit(branch.name))
192
193 def show_intro(self):
194 if settings.animate and settings.show_intro:
195 self.add(self.logo)
196
197 initialCommitText = m.Text(
198 settings.title,
199 font=self.font,
200 font_size=36,
201 color=self.fontColor,
202 ).to_edge(m.UP, buff=1)
203 self.add(initialCommitText)
204 self.wait(2)
205 self.play(m.FadeOut(initialCommitText))
206 self.play(
207 self.logo.animate.scale(0.25)
208 .to_edge(m.UP, buff=0)
209 .to_edge(m.RIGHT, buff=0)
210 )
211
212 self.camera.frame.save_state()
213 self.play(m.FadeOut(self.logo))
214
215 else:
216 self.logo.scale(0.25).to_edge(m.UP, buff=0).to_edge(m.RIGHT, buff=0)
217 self.camera.frame.save_state()
218
219 def show_outro(self):
220 if settings.animate and settings.show_outro:

Callers 15

constructMethod · 0.95
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80
constructMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected