Converted demo 5 to MacroGL entities