Skip to content

Commit 77d0fff

Browse files
committed
version 2.0
1 parent cb714c2 commit 77d0fff

File tree

164 files changed

+24042
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+24042
-0
lines changed

.classpath

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" path="src"/>
4+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
5+
<attributes>
6+
<attribute name="module" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="lib" path="classgraph/classgraph-4.8.47-javadoc.jar"/>
10+
<classpathentry kind="lib" path="classgraph/classgraph-4.8.47-sources.jar"/>
11+
<classpathentry kind="lib" path="classgraph/classgraph-4.8.47.jar"/>
12+
<classpathentry kind="output" path="bin"/>
13+
</classpath>

.gitattributes

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Custom for Visual Studio
5+
*.cs diff=csharp
6+
*.sln merge=union
7+
*.csproj merge=union
8+
*.vbproj merge=union
9+
*.fsproj merge=union
10+
*.dbproj merge=union
11+
12+
# Standard to msysgit
13+
*.doc diff=astextplain
14+
*.DOC diff=astextplain
15+
*.docx diff=astextplain
16+
*.DOCX diff=astextplain
17+
*.dot diff=astextplain
18+
*.DOT diff=astextplain
19+
*.pdf diff=astextplain
20+
*.PDF diff=astextplain
21+
*.rtf diff=astextplain
22+
*.RTF diff=astextplain

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.class

.project

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>ArrayVisualizer-master</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.zeroturnaround.eclipse.rebelXmlBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
</natures>
22+
</projectDescription>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
4+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
5+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
6+
org.eclipse.jdt.core.compiler.compliance=1.8
7+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
8+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
9+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
10+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
11+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
12+
org.eclipse.jdt.core.compiler.release=disabled
13+
org.eclipse.jdt.core.compiler.source=1.8

.settings/org.eclipse.jdt.ui.prefs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.ui.text.custom_code_templates=

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 w0rthy
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# ArrayVisualizer
2+
Sorting Visualizer with 6 different views and 14 included sorting algorithms
3+
4+
Outdated videos:
5+
6+
Classic:
7+
https://www.youtube.com/watch?v=QmOtL6pPcI0
8+
9+
Color Circle:
10+
https://www.youtube.com/watch?v=IjIViETya5k
11+
12+
Dots:
13+
https://www.youtube.com/watch?v=zcO8uxg_Spw
14+
15+
Spiral Dots:
16+
https://www.youtube.com/watch?v=jrHLeKwMzfI

bin/SortPrompt.form

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<Form version="1.3" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4+
<Properties>
5+
<Property name="defaultCloseOperation" type="int" value="3"/>
6+
</Properties>
7+
<SyntheticProperties>
8+
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
9+
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
10+
</SyntheticProperties>
11+
<AuxValues>
12+
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13+
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14+
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
15+
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
16+
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
17+
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
18+
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
19+
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
20+
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
21+
</AuxValues>
22+
23+
<Layout>
24+
<DimensionLayout dim="0">
25+
<Group type="103" groupAlignment="0" attributes="0">
26+
<Group type="102" alignment="0" attributes="0">
27+
<EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
28+
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
29+
<EmptySpace max="32767" attributes="0"/>
30+
<Component id="jLabel2" min="-2" max="-2" attributes="0"/>
31+
<EmptySpace min="-2" pref="32" max="-2" attributes="0"/>
32+
</Group>
33+
<Group type="102" alignment="0" attributes="0">
34+
<Component id="jScrollPane1" min="-2" pref="113" max="-2" attributes="0"/>
35+
<EmptySpace max="32767" attributes="0"/>
36+
<Component id="jScrollPane2" min="-2" pref="113" max="-2" attributes="0"/>
37+
</Group>
38+
<Group type="102" alignment="1" attributes="0">
39+
<EmptySpace max="32767" attributes="0"/>
40+
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
41+
<EmptySpace min="-2" pref="82" max="-2" attributes="0"/>
42+
</Group>
43+
</Group>
44+
</DimensionLayout>
45+
<DimensionLayout dim="1">
46+
<Group type="103" groupAlignment="0" attributes="0">
47+
<Group type="102" alignment="0" attributes="0">
48+
<EmptySpace max="-2" attributes="0"/>
49+
<Group type="103" groupAlignment="3" attributes="0">
50+
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
51+
<Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
52+
</Group>
53+
<EmptySpace max="-2" attributes="0"/>
54+
<Group type="103" groupAlignment="0" max="-2" attributes="0">
55+
<Component id="jScrollPane2" pref="200" max="32767" attributes="0"/>
56+
<Component id="jScrollPane1" max="32767" attributes="0"/>
57+
</Group>
58+
<EmptySpace max="32767" attributes="0"/>
59+
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
60+
<EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
61+
</Group>
62+
</Group>
63+
</DimensionLayout>
64+
</Layout>
65+
<SubComponents>
66+
<Component class="javax.swing.JLabel" name="jLabel1">
67+
<Properties>
68+
<Property name="text" type="java.lang.String" value="Comparative"/>
69+
</Properties>
70+
</Component>
71+
<Component class="javax.swing.JLabel" name="jLabel2">
72+
<Properties>
73+
<Property name="text" type="java.lang.String" value="Distributive"/>
74+
</Properties>
75+
</Component>
76+
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
77+
<Properties>
78+
<Property name="horizontalScrollBarPolicy" type="int" value="31"/>
79+
</Properties>
80+
81+
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
82+
<SubComponents>
83+
<Component class="javax.swing.JList" name="jList2">
84+
<Properties>
85+
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
86+
<StringArray count="5">
87+
<StringItem index="0" value="Item 1"/>
88+
<StringItem index="1" value="Item 2"/>
89+
<StringItem index="2" value="Item 3"/>
90+
<StringItem index="3" value="Item 4"/>
91+
<StringItem index="4" value="Item 5"/>
92+
</StringArray>
93+
</Property>
94+
</Properties>
95+
<Events>
96+
<EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="jList2ValueChanged"/>
97+
</Events>
98+
</Component>
99+
</SubComponents>
100+
</Container>
101+
<Container class="javax.swing.JScrollPane" name="jScrollPane2">
102+
<Properties>
103+
<Property name="horizontalScrollBarPolicy" type="int" value="31"/>
104+
</Properties>
105+
<Events>
106+
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="jScrollPane2MouseClicked"/>
107+
</Events>
108+
109+
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
110+
<SubComponents>
111+
<Component class="javax.swing.JList" name="jList1">
112+
<Properties>
113+
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
114+
<StringArray count="5">
115+
<StringItem index="0" value="Item 1"/>
116+
<StringItem index="1" value="Item 2"/>
117+
<StringItem index="2" value="Item 3"/>
118+
<StringItem index="3" value="Item 4"/>
119+
<StringItem index="4" value="Item 5"/>
120+
</StringArray>
121+
</Property>
122+
</Properties>
123+
<Events>
124+
<EventHandler event="valueChanged" listener="javax.swing.event.ListSelectionListener" parameters="javax.swing.event.ListSelectionEvent" handler="jList1ValueChanged"/>
125+
</Events>
126+
</Component>
127+
</SubComponents>
128+
</Container>
129+
<Component class="javax.swing.JButton" name="jButton1">
130+
<Properties>
131+
<Property name="text" type="java.lang.String" value="Run All"/>
132+
</Properties>
133+
<Events>
134+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
135+
</Events>
136+
</Component>
137+
</SubComponents>
138+
</Form>

bin/UtilFrame.form

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<Form version="1.3" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4+
<NonVisualComponents>
5+
<Component class="javax.swing.JCheckBox" name="jCheckBox1">
6+
<Properties>
7+
<Property name="text" type="java.lang.String" value="jCheckBox1"/>
8+
</Properties>
9+
</Component>
10+
</NonVisualComponents>
11+
<Properties>
12+
<Property name="defaultCloseOperation" type="int" value="0"/>
13+
</Properties>
14+
<SyntheticProperties>
15+
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
16+
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
17+
</SyntheticProperties>
18+
<AuxValues>
19+
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
20+
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
21+
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
22+
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
23+
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
24+
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
25+
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
26+
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
27+
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
28+
</AuxValues>
29+
30+
<Layout>
31+
<DimensionLayout dim="0">
32+
<Group type="103" groupAlignment="0" attributes="0">
33+
<Group type="102" alignment="0" attributes="0">
34+
<EmptySpace max="-2" attributes="0"/>
35+
<Group type="103" groupAlignment="1" max="-2" attributes="0">
36+
<Component id="jButton4" max="32767" attributes="0"/>
37+
<Group type="103" groupAlignment="0" attributes="0">
38+
<Component id="jCheckBox3" min="-2" max="-2" attributes="0"/>
39+
<Component id="jCheckBox2" min="-2" max="-2" attributes="0"/>
40+
<Group type="103" groupAlignment="1" max="-2" attributes="0">
41+
<Component id="jButton3" max="32767" attributes="0"/>
42+
<Component id="jButton2" alignment="1" max="32767" attributes="0"/>
43+
<Component id="jButton1" alignment="1" max="32767" attributes="0"/>
44+
</Group>
45+
</Group>
46+
</Group>
47+
<EmptySpace min="0" pref="10" max="32767" attributes="0"/>
48+
</Group>
49+
</Group>
50+
</DimensionLayout>
51+
<DimensionLayout dim="1">
52+
<Group type="103" groupAlignment="0" attributes="0">
53+
<Group type="102" alignment="0" attributes="0">
54+
<EmptySpace max="-2" attributes="0"/>
55+
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
56+
<EmptySpace max="-2" attributes="0"/>
57+
<Component id="jButton2" min="-2" max="-2" attributes="0"/>
58+
<EmptySpace max="-2" attributes="0"/>
59+
<Component id="jButton3" min="-2" max="-2" attributes="0"/>
60+
<EmptySpace max="-2" attributes="0"/>
61+
<Component id="jButton4" min="-2" max="-2" attributes="0"/>
62+
<EmptySpace pref="7" max="32767" attributes="0"/>
63+
<Component id="jCheckBox2" min="-2" max="-2" attributes="0"/>
64+
<EmptySpace max="-2" attributes="0"/>
65+
<Component id="jCheckBox3" min="-2" max="-2" attributes="0"/>
66+
<EmptySpace max="-2" attributes="0"/>
67+
</Group>
68+
</Group>
69+
</DimensionLayout>
70+
</Layout>
71+
<SubComponents>
72+
<Component class="javax.swing.JButton" name="jButton1">
73+
<Properties>
74+
<Property name="text" type="java.lang.String" value="Change Sort"/>
75+
</Properties>
76+
<Events>
77+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
78+
</Events>
79+
</Component>
80+
<Component class="javax.swing.JButton" name="jButton2">
81+
<Properties>
82+
<Property name="text" type="java.lang.String" value="Change View"/>
83+
</Properties>
84+
<Events>
85+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
86+
</Events>
87+
</Component>
88+
<Component class="javax.swing.JButton" name="jButton3">
89+
<Properties>
90+
<Property name="text" type="java.lang.String" value="Change Spd"/>
91+
</Properties>
92+
<Events>
93+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton3ActionPerformed"/>
94+
</Events>
95+
</Component>
96+
<Component class="javax.swing.JCheckBox" name="jCheckBox2">
97+
<Properties>
98+
<Property name="selected" type="boolean" value="true"/>
99+
<Property name="text" type="java.lang.String" value="Shuffle Anim"/>
100+
</Properties>
101+
<Events>
102+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBox2ActionPerformed"/>
103+
</Events>
104+
</Component>
105+
<Component class="javax.swing.JCheckBox" name="jCheckBox3">
106+
<Properties>
107+
<Property name="selected" type="boolean" value="true"/>
108+
<Property name="text" type="java.lang.String" value="Linked Dots"/>
109+
</Properties>
110+
<Events>
111+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jCheckBox3ActionPerformed"/>
112+
</Events>
113+
</Component>
114+
<Component class="javax.swing.JButton" name="jButton4">
115+
<Properties>
116+
<Property name="text" type="java.lang.String" value="Change Inst"/>
117+
</Properties>
118+
<Events>
119+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton4ActionPerformed"/>
120+
</Events>
121+
</Component>
122+
</SubComponents>
123+
</Form>

0 commit comments

Comments
 (0)