How To Animate Fade In Code

The add animation type will append your code to the scene using a fade in transition.

{
    "type": "add",
    "lines": "console.log(\"Hello World!\")\n",
    "start": "1", 
    "end": "2" 
}