aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/images/irredecentENV.pngbin103121 -> 0 bytes
-rw-r--r--assets/images/scales_normal.pngbin113789 -> 0 bytes
-rw-r--r--assets/images/stitchStroke.pngbin8054 -> 0 bytes
-rw-r--r--assets/images/stitchStroke_N.pngbin2868 -> 0 bytes
-rw-r--r--assets/shaders/Basic.frag.glsl4
-rw-r--r--assets/shaders/Basic.vert.glsl3
-rw-r--r--assets/shaders/Deform.frag.glsl29
-rw-r--r--assets/shaders/Fly.frag.glsl23
-rw-r--r--assets/shaders/Julia.frag.glsl25
-rw-r--r--assets/shaders/Keleidoscope.frag.glsl25
-rw-r--r--assets/shaders/Mandel.frag.glsl55
-rw-r--r--assets/shaders/Pulse.frag.glsl22
-rw-r--r--assets/shaders/ReliefTunnel.frag.glsl35
-rw-r--r--assets/shaders/SquareTunnel.frag.glsl21
-rw-r--r--assets/shaders/Star.frag.glsl28
-rw-r--r--assets/shaders/Taper.vert.glsl66
-rw-r--r--assets/shaders/Tunnel.frag.glsl23
-rw-r--r--assets/shaders/Twist.frag.glsl23
-rw-r--r--assets/shaders/Water.frag.glsl55
-rw-r--r--assets/shaders/ZInvert.frag.glsl23
-rw-r--r--assets/shaders/plasma.frag.glsl32
-rw-r--r--assets/shaders/plasma.vert.glsl42
-rw-r--r--assets/shaders/radialBlur.frag.glsl47
-rw-r--r--credits.html99
-rw-r--r--css/ninja.css2
-rw-r--r--images/favicon.pngbin1085 -> 564 bytes
-rw-r--r--index.html291
-rw-r--r--js/components/tools-properties/pen-properties.reel/pen-properties.html22
-rw-r--r--js/components/tools-properties/pen-properties.reel/pen-properties.js18
-rw-r--r--js/components/treeview/ninja-branch.reel/ninja-branch.css11
-rw-r--r--js/components/treeview/ninja-leaf.reel/ninja-leaf.css2
-rw-r--r--js/components/treeview/treeview.reel/treeview.html2
-rw-r--r--js/helper-classes/3D/math-utils.js18
-rw-r--r--js/helper-classes/RDGE/GLAnchorPoint.js239
-rw-r--r--js/helper-classes/RDGE/GLBrushStroke.js7
-rw-r--r--js/helper-classes/RDGE/GLSubpath.js2317
-rw-r--r--js/helper-classes/RDGE/Materials/BrickMaterial.js231
-rw-r--r--js/helper-classes/RDGE/Materials/DeformMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/FlyMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/IridescentScalesMaterial.js215
-rw-r--r--js/helper-classes/RDGE/Materials/JuliaMaterial.js150
-rw-r--r--js/helper-classes/RDGE/Materials/KeleidoscopeMaterial.js149
-rw-r--r--js/helper-classes/RDGE/Materials/MandelMaterial.js151
-rw-r--r--js/helper-classes/RDGE/Materials/PlasmaMaterial.js134
-rw-r--r--js/helper-classes/RDGE/Materials/PulseMaterial.js237
-rw-r--r--js/helper-classes/RDGE/Materials/QuiltMaterial.js168
-rw-r--r--js/helper-classes/RDGE/Materials/RadialBlurMaterial.js246
-rw-r--r--js/helper-classes/RDGE/Materials/ReliefTunnelMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/SquareTunnelMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/StarMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/StitchMaterial.js119
-rw-r--r--js/helper-classes/RDGE/Materials/TunnelMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/TwistMaterial.js149
-rw-r--r--js/helper-classes/RDGE/Materials/WaterMaterial.js133
-rw-r--r--js/helper-classes/RDGE/Materials/ZInvertMaterial.js133
-rw-r--r--js/helper-classes/RDGE/MaterialsLibrary.js53
-rw-r--r--js/helper-classes/RDGE/src/tools/compile-rdge-core.bat4
-rw-r--r--js/helper-classes/RDGE/src/tools/compile-rdge-core.sh3
-rw-r--r--js/helper-classes/RDGE/src/tools/compiler.jarbin4927265 -> 0 bytes
-rw-r--r--js/helper-classes/RDGE/src/tools/rdge-compiled.js454
-rw-r--r--js/ninja.reel/ninja.js3
-rw-r--r--js/panels/Materials/Materials.xml20
-rw-r--r--js/panels/Materials/materials-popup.reel/materials-popup.js21
-rw-r--r--js/panels/properties/sections/position-and-size.reel/position-and-size.js89
-rw-r--r--js/panels/properties/sections/three-d-view.reel/three-d-view.js3
-rwxr-xr-xjs/preloader/Preloader.js17
-rw-r--r--js/tools/PenTool.js554
-rw-r--r--js/tools/Rotate3DToolBase.js2
-rw-r--r--js/tools/RotateStage3DTool.js2
-rw-r--r--js/tools/modifier-tool-base.js35
-rw-r--r--license.html52
-rw-r--r--scss/imports/scss/_PanelUI.scss2
72 files changed, 1539 insertions, 6397 deletions
diff --git a/assets/images/irredecentENV.png b/assets/images/irredecentENV.png
deleted file mode 100644
index 21c1c9ce..00000000
--- a/assets/images/irredecentENV.png
+++ /dev/null
Binary files differ
diff --git a/assets/images/scales_normal.png b/assets/images/scales_normal.png
deleted file mode 100644
index 87cc77dc..00000000
--- a/assets/images/scales_normal.png
+++ /dev/null
Binary files differ
diff --git a/assets/images/stitchStroke.png b/assets/images/stitchStroke.png
deleted file mode 100644
index 7808e81f..00000000
--- a/assets/images/stitchStroke.png
+++ /dev/null
Binary files differ
diff --git a/assets/images/stitchStroke_N.png b/assets/images/stitchStroke_N.png
deleted file mode 100644
index 34fa97d4..00000000
--- a/assets/images/stitchStroke_N.png
+++ /dev/null
Binary files differ
diff --git a/assets/shaders/Basic.frag.glsl b/assets/shaders/Basic.frag.glsl
index c1f9a5c8..a2c21afa 100644
--- a/assets/shaders/Basic.frag.glsl
+++ b/assets/shaders/Basic.frag.glsl
@@ -11,9 +11,7 @@ precision highp float;
11 11
12 12
13uniform vec4 color; 13uniform vec4 color;
14varying vec4 v_color;
15 14
16void main() { 15void main() {
17 gl_FragColor = v_color; 16 gl_FragColor = color;
18 //gl_FragColor = color;
19} 17}
diff --git a/assets/shaders/Basic.vert.glsl b/assets/shaders/Basic.vert.glsl
index 40b97ad7..0d5b8d63 100644
--- a/assets/shaders/Basic.vert.glsl
+++ b/assets/shaders/Basic.vert.glsl
@@ -14,8 +14,6 @@ precision highp float;
14attribute vec3 a_pos; 14attribute vec3 a_pos;
15attribute vec2 texcoord; 15attribute vec2 texcoord;
16 16
17varying vec4 v_color;
18
19 17
20// matrix uniforms 18// matrix uniforms
21uniform mat4 u_mvMatrix; 19uniform mat4 u_mvMatrix;
@@ -24,6 +22,5 @@ uniform mat4 u_worldMatrix;
24 22
25void main(void) 23void main(void)
26{ 24{
27 v_color = vec4(texcoord.x, texcoord.y, 0, 1);
28 gl_Position = u_projMatrix * u_mvMatrix * vec4(a_pos,1.0) ; 25 gl_Position = u_projMatrix * u_mvMatrix * vec4(a_pos,1.0) ;
29} \ No newline at end of file 26} \ No newline at end of file
diff --git a/assets/shaders/Deform.frag.glsl b/assets/shaders/Deform.frag.glsl
deleted file mode 100644
index 1dbe45a0..00000000
--- a/assets/shaders/Deform.frag.glsl
+++ /dev/null
@@ -1,29 +0,0 @@
1#ifdef GL_ES
2precision highp float;
3#endif
4
5uniform float u_time;
6uniform vec2 u_resolution;
7//uniform vec4 mouse;
8uniform sampler2D u_tex0;
9
10void main(void)
11{
12 vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / u_resolution.xy;
13 //vec2 m = -1.0 + 2.0 * mouse.xy / u_resolution.xy;
14 vec2 m = vec2(-.8, .8);
15
16 float a1 = atan(p.y-m.y,p.x-m.x);
17 float r1 = sqrt(dot(p-m,p-m));
18 float a2 = atan(p.y+m.y,p.x+m.x);
19 float r2 = sqrt(dot(p+m,p+m));
20
21 vec2 uv;
22 uv.x = 0.2*u_time + (r1-r2)*0.25;
23 uv.y = sin(2.0*(a1-a2));
24
25 float w = r1*r2*0.8;
26 vec3 col = texture2D(u_tex0,uv).xyz;
27
28 gl_FragColor = vec4(col/(.1+w),1.0);
29} \ No newline at end of file
diff --git a/assets/shaders/Fly.frag.glsl b/assets/shaders/Fly.frag.glsl
deleted file mode 100644
index f99b5ab8..00000000
--- a/assets/shaders/Fly.frag.glsl
+++ /dev/null
@@ -1,23 +0,0 @@
1#ifdef GL_ES
2precision highp float;
3#endif
4
5uniform vec2 u_resolution;
6uniform float u_time;
7uniform sampler2D u_tex0;
8
9void main(void)
10{
11 vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / u_resolution.xy;
12 vec2 uv;
13
14 float an = u_time*.25;
15
16 float x = p.x*cos(an)-p.y*sin(an);
17 float y = p.x*sin(an)+p.y*cos(an);
18
19 uv.x = .25*x/abs(y);
20 uv.y = .20*u_time + .25/abs(y);
21
22 gl_FragColor = vec4(texture2D(u_tex0,uv).xyz * y*y, 1.0);
23}
diff --git a/assets/shaders/Julia.frag.glsl b/assets/shaders/Julia.frag.glsl
deleted file mode 100644
index 68cda703..00000000
--- a/assets/shaders/Julia.frag.glsl
+++ /dev/null
@@ -1,25 +0,0 @@
1#ifdef GL_ES
2precision highp float;
3#endif
4
5uniform vec2 u_resolution;
6uniform float u_time;
7
8void main(void)
9{
10 vec2 p = -1.0 + 2.0 * gl_FragCoord.xy / u_resolution.xy;
11 vec2 cc = vec2( cos(.25*u_time), sin(.25*u_time*1.423) );
12