MCPcopy Create free account
hub / github.com/aegeorge42/aegeorge42.github.io / makeSlides

Function makeSlides

View/allSlides.js:88–2037  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87
88export function makeSlides(){
89 SlideHome = new Slide();
90
91 /* ------- INSTRUCTIONS --------*/
92
93 // INSTRUCT 1
94 var textInstruct1 = [
95 [ ["Here is the tool that I needed to learn about neural networks."], [layout.CX-400, layout.CY+100]],
96 [ ["I hope it helps you!"], [layout.CX, layout.CY+150]],
97
98 ];
99 SlideInstruct1.drawText(textInstruct1);
100
101
102 // INSTRUCT 2
103 var arrow1 =new PIXI.Sprite(loader.resources["images/arrows/arrow1.png"].texture);
104 arrow1.isSprite=true;
105 arrow1.scale.set(0.5);
106 arrow1.x = window.innerWidth-350;
107 arrow1.y = 80;
108 SlideInstruct2.arrowContainer.addChild(arrow1);
109
110 var arrow2 =new PIXI.Sprite(loader.resources["images/arrows/arrow1.png"].texture);
111 arrow2.isSprite=true;
112 arrow2.scale.set(0.5);
113 arrow2.x = window.innerWidth-750;
114 arrow2.y = 70;
115 arrow2.height = 110;
116
117SlideInstruct2.arrowContainer.addChild(arrow2);
118
119 var sandbox =new PIXI.Sprite(loader.resources["images/intro/sandbox.png"].texture);
120 sandbox.isSprite=true;
121 sandbox.anchor.set(0.5);
122 sandbox.x = layout.CX+340;
123 sandbox.y = 210;
124
125 SlideInstruct2.SlideInstructLayers=true;
126 var textInstruct2 = [
127 [ ["Here is the tool that I needed to learn about neural networks."], [layout.CX-400, layout.CY+100]],
128 [ ["I hope it helps you!"], [layout.CX, layout.CY+150]],
129 [ ["use these buttons to jump ahead to different sections"], [layout.CX-300, 150]],
130 [ ["just want to play with a pre-built neural network? click "], [layout.CX-200, 200]],
131 sandbox,
132 ];
133 SlideInstruct2.drawText(textInstruct2);
134
135
136
137
138
139 /* ------- INTRO --------*/
140
141 // INTRO 1
142 var sorter =new PIXI.Sprite(loader.resources["images/intro/sorter.png"].texture);
143 sorter.isSprite=true;
144 sorter.anchor.set(0.5)
145 sorter.x=layout.CX;

Callers 1

setupMethod · 0.90

Calls 15

getGraphMethod · 0.95
removeLayerMethod · 0.95
setNetDataMethod · 0.95
setOutLayerMethod · 0.95
updateMethod · 0.95
getLayerMethod · 0.95
updateGraphMethod · 0.95
checkInitMethod · 0.95
sleepFunction · 0.85
drawTextMethod · 0.80
drawTextButtonsMethod · 0.80
drawInteractiveMethod · 0.80

Tested by

no test coverage detected