<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<Variables>[code],[file],[lineCode],[quant],[quantSet],[randomX1],[randomX2],[randomX3],[randomY1],[randomY2],[randomY3]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>1580</PageWidth>
	<PageHeight>860</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<WebBuildTarget>C:\Patryk\różne\Program Do Kołkowań</WebBuildTarget>
	<AppIcon>C:\Users\Format4\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<IsPWA>True</IsPWA>
	<DisplayMode>browser</DisplayMode>
	<ServiceWorker>Advanced caching</ServiceWorker>
	<IsNWJS>True</IsNWJS>
	<ThemeColor>#000000</ThemeColor>
	<PwaScope>/</PwaScope>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>CreateEmptyArray [lines]</startup>
	<Components>
		<FunctionList name="Subroutines"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<Container id="Container1">
							<left>0px</left>
							<top>0px</top>
							<width>920px</width>
							<height>860px</height>
							<style>background-color:#9CBDFF;border-style:solid;border-width:1px</style>
						</Container>
						<PushButton id="PushButton2">
							<left>920px</left>
							<top>50px</top>
							<width>130px</width>
							<height>40px</height>
							<caption>Add new line</caption>
							<click>
.The [lines] array has been created on Project &gt; Events
.We create an empty object to store coordinates.
CreateEmptyObject [coords]

RandomEx -100 100 [randomX1]
SetVar [coords.x1] [randomX1]

RandomEx -100 100 [randomY1]
SetVar [coords.y1] [randomY1]

RandomEx -100 100 [randomX2]
SetVar [coords.x2] [randomX2]

RandomEx -100 100 [randomY2]
SetVar [coords.y2] [randomY2]

RandomEx -100 100 [randomX3]
SetVar [coords.x3] [randomX3]

RandomEx -100 100 [randomY3]
SetVar [coords.y3] [randomY3]

.We add the coordinates object to the Array
ArrayAddItem [lines] [coords]


</click>
						</PushButton>
						<TextInput id="TextInput1">
							<left>1000px</left>
							<top>290px</top>
							<width>450px</width>
							<height>490px</height>
							<variable>[code]</variable>
						</TextInput>
						<PushButton id="PushButton1">
							<left>920px</left>
							<top>110px</top>
							<width>130px</width>
							<height>40px</height>
							<caption>Draw lines</caption>
							<click>neo3dInitialize &quot;Container1&quot; 0.5
neo3dEnableDrag &quot;Container1&quot;


.get the total number of lines
ArrayLen [lines] [totalLines]
SetVar [totalLines] [totalLines]+1

.loop the [lines] array
Loop 0 [totalLines] [n]
  neo3dDrawLine &quot;Container1&quot; &quot;1&quot; &quot;[lines([n]).x1],[lines([n]).y1],0&quot; &quot;[lines([n]).x2],[lines([n]).y2],0&quot; &quot;[lines([n]).x3],[lines([n]).y3],0&quot; &quot;0,0,0&quot; &quot;3&quot; &quot;0,0,0&quot;
EndLoop

</click>
						</PushButton>
						<Paragraph id="Paragraph1">
							<left>1055px</left>
							<top>60px</top>
							<width>225px</width>
							<height>30px</height>
							<text>Total lines to draw: [lines.length]</text>
						</Paragraph>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>640px</width>
							<height>480px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
