This is an early draft of a new library inspired by Logo programming language and Teaching Kids Programming project: https://teachingkidsprogramming.org/
The idea is to program in B4X language with all of B4X features and to make it very simple to start with something that you can see and play with.
It will be cross platform.
Code for this example:
The idea is to program in B4X language with all of B4X features and to make it very simple to start with something that you can see and play with.

It will be cross platform.
Code for this example:
B4X:
Sub Process_Globals
Private MainForm As Form
Private Turtle1 As B4XTurtle
Private xui As XUI
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("1")
MainForm.Show
TurtleStart
End Sub
Sub TurtleStart
Turtle1.X = 20
Turtle1.Y = 50
Turtle1.Angle = 90
Turtle1.MoveForward(230)
HalfCircle
HalfCircle
Turtle1.Y = 50
Turtle1.X = 140
Turtle1.Angle = 90
Turtle1.MoveForward(120)
Turtle1.TurnLeft(90)
Turtle1.MoveForward(100)
Turtle1.X = 200
Turtle1.Y = 50
Turtle1.Angle = 90
Turtle1.MoveForward(220)
Turtle1.Y = 50
Turtle1.X = 250
Turtle1.Angle = 60
Turtle1.MoveForward(250)
Turtle1.Y = 50
Turtle1.Angle = 120
Turtle1.MoveForward(250)
Turtle1.PenColor = xui.Color_Blue
For i = 1 To 2000
Turtle1.MoveForward(2 - i / 1000)
Turtle1.TurnLeft(1)
Next
End Sub
Sub HalfCircle
Turtle1.Angle = 0
Turtle1.MoveForward(20)
For i = 1 To 180
Turtle1.MoveForward(1)
Turtle1.TurnLeft(1)
Next
Turtle1.MoveForward(20)
End Sub