I just used pen. If you want to make something cool like this, then you can try out the ways to use other things in code and you will eventually get it!
I got some ideas from @The_Duke and other people!