iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🥶

Experiencing the Terror of Baibain in Scratch

に公開

Introduction


Quoted from Tentŀmushi Comics "Doraemon" Vol. 17, "Baibain"
http://fujiko-museum.com/blog/?p=7321/

In this article, I would like to introduce the horror of "Baibain," a famous gadget that appears in the story of the well-known cat-shaped robot, using "Scratch 3.0," one of the visual programming languages.

About the Author

  • I usually study programming and write a blog.
  • I host CoderDojo Kasuga in Fukuoka Prefecture.
  • I have been using Scratch for about 5 years, and it is the tool I am most familiar with.

My Blog

https://www.chickensblog.com/category/scratch/
I write articles about Scratch info and programming!

CoderDojo Kasuga (Free)

https://coderdojo-kasuga.connpass.com/
This is the registration site for CoderDojo Kasuga. If you live in Fukuoka, please join us!

Now, let's get straight to the point.

What is Baibain?


Quoted from Tentŀmushi Comics "Doraemon" Vol. 17, "Baibain"
http://fujiko-museum.com/blog/?p=7321/

As mentioned at the beginning, Baibain is a liquid that, when poured on an object, makes it double (geometric progression/powers of 2).

The Horror of Baibain


Quoted from Tentōmushi Comics "Doraemon" Vol. 17, "Baibain"
http://fujiko-museum.com/blog/?p=7321/

As you can see in the image, the reproduction rate is incredible. I guess you'd call this kind of growth an exponential function?

Let's try implementing it in Scratch right away.

Implementation

I've put it together quickly and easily. I also made the reproduction speed visible to make it easier to understand. Waiting 5 minutes is boring, so this time I'll do it every 5 seconds.

Experiencing the Power


Starting from 1.

Still manageable.

(Relieved to see the program is working properly)

As we continue repeating the process...

In just 10 steps, it reached 300, which is the maximum clone limit for Scratch 3.0.

However, I want to increase it beyond 300 to really feel the power.

Removing the Clone Limit


I'll try removing the limit using TurboWarp.


Added a trial count to make it easier to understand.

Oh! It properly exceeded 300 and increased to 512! Let's keep increasing it.

Everyone's favorite, 1024.

I also like 2048.

Things are starting to look suspicious...

Well, I think I can still go on?

Yikes!

My browser is getting slow...

Ah...

〜THE END〜

Summary

  • Scratch 3.0 has a clone limit of 300
  • You can remove the limit by using TurboWarp
  • Baibain is terrifying
  • Baibain is terrifying

Next Time Preview

Stamps, Arriving in Japan

Related Articles

https://zenn.dev/teba_eleven/articles/6195055d28ba86
https://zenn.dev/teba_eleven/articles/a0aa439179e4a7
https://www.chickensblog.com/scratch-minecraft-2d/
https://www.chickensblog.com/scratch-diagonal-movement/
https://www.chickensblog.com/progate/

P.S.

Goodbye, all of Tebangelion

Discussion