No description provided
The showcase player uses a modified version of Processing.js in combination with jsweet to let students program their apps in Java code while still allowing for browser support.
Content created by students is scaled to fit the showcase frame while maintaining aspect ratio and cursor position. This is why some projects may appear blurry in fullscreen, or why some small details may not be visible on a small screen
<iframe width='500px' height='400px' src='https://nest.ktbyte.com/nest#354901' allowfullscreen></iframe>
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="global_function_setup" id="=Y[xv~Zm+5;PJXQ/.w5H" x="-89" y="66"><statement name="statements"><block type="command_background" id="?c)/Rrsv9CpSsDJasQq#"><value name="p0"><block type="value" id="$`qC+#HD=URhc]N*8oGT"><field name="TEXT">100</field></block></value><value name="p1"><block type="value" id="P?9%@ZM}eoFGLA]ist++"><field name="TEXT">0</field></block></value><value name="p2"><block type="value" id="IJ+}O9oM96JD/-wyinT*"><field name="TEXT">100</field></block></value><next><block type="global_function_call_user_defined" id="61fk8{J|ptC%7k`XWz1/"><field name="name">colorMode</field><field name="input">HSB</field></block></next></block></statement></block><block type="global_variables" id="bAz}EuFCSu0qF,QJ*M(4" x="-70" y="174"><next><block type="variable_declaration" id="20F%L1e{jmo,L[u_M*)b"><field name="var_type">String</field><field name="var_name">url</field><value name="value"><block type="value" id="j}0|G3]|.SkOaWk1oeyk"><field name="TEXT">"http://www.nyan.cat/cats/original.gif"</field></block></value><next><block type="variable_declaration" id="cdC%wdy=GgNZAe#*ONS+"><field name="var_type">Sprite</field><field name="var_name">s</field><value name="value"><block type="sprite_newSprite" id="X0{55pLbroIh@sSpWgQn"><value name="p0"><block type="value" id="J#}FCQV4~AOskj]d`.Q{"><field name="TEXT">url</field></block></value><value name="p1"><block type="value" id="jKQb;fMRvy1WH$E{(,jx"><field name="TEXT">320</field></block></value><value name="p2"><block type="value" id="@4o}t:0jpv=4USt4:RvL"><field name="TEXT">240</field></block></value><value name="p3"><block type="value" id="]dAD=x_Y(*.8n:F}h+]C"><field name="TEXT">150</field></block></value><value name="p4"><block type="value" id="fy@#hR[WU})e7}9x#D{["><field name="TEXT">120</field></block></value></block></value></block></next></block></next></block><block type="command_free" id="JE*0SpWd/Y|{84_Qb]hi" x="99" y="189"><field name="command">hue - what part of the rainbow</field><next><block type="command_free" id="/27:.N;RUI_Wt:|$TE;U"><field name="command">saturation - how much of the hue</field><next><block type="command_free" id="_i^7Tl`gj5JRre:b-cpd"><field name="command">brightness - how bright the color is</field></block></next></block></next></block><block type="value" id="X?zN@ZlG/4oBk5ZeyQUw" x="-16" y="233"><field name="TEXT">255</field></block><block type="global_function_draw" id="eoA9TXPV|0`uQpal_V@u" x="-69" y="318"><statement name="statements"><block type="command_stroke" id="q#}Kr}lAi5;ws#[=5!K|"><value name="p0"><block type="value" id="aFj)*Bv3=^iRA@M2gB7s"><field name="TEXT">mouseY / 2</field></block></value><value name="p1"><block type="value" id="tVyzCv*p__]rjm;?N];:"><field name="TEXT">255</field></block></value><value name="p2"><block type="value" id="UrW|T^m.$Dr+B:It^je5"><field name="TEXT">255</field></block></value><next><block type="command_strokeWeight" id="pt:nceGP`I1afiV,[vX)"><value name="p0"><block type="value" id="s{c0#[tFt0j7oi|k^PJV"><field name="TEXT">5</field></block></value><next><block type="command_line" id="4mM?TMWmFrEa8D@0MRI$"><value name="p0"><block type="value" id="+tF$e7a62}}_-)hrGjux"><field name="TEXT">0</field></block></value><value name="p1"><block type="value" id="0x7Ph2WjFLLPp*E/3H#7"><field name="TEXT">mouseY</field></block></value><value name="p2"><block type="value" id="iH;/kzWjjEsQOW`RZ(q`"><field name="TEXT">640</field></block></value><value name="p3"><block type="value" id="0UOvw(-WC7pzZ/3FLfIp"><field name="TEXT">mouseY</field></block></value><next><block type="conditionals_if" id="c4!.{sK)4=.{OUpRY1Sh"><value name="IF0"><block type="value" id="(@%}7UBO(5D/ok)Es2lQ"><field name="TEXT">mousePressed</field></block></value><statement name="DO0"><block type="command_noFill" id="~ghCRe/y*Rl!HNuIjD7E"><next><block type="command_ellipse" id="r9G1yw$s:0gDd?euFR;X"><value name="p0"><block type="value" id="WR_]b:)oeeSy{@/5=~{V"><field name="TEXT">320</field></block></value><value name="p1"><block type="value" id="s:*42CJ{jE{B5_uot;=k"><field name="TEXT">240</field></block></value><value name="p2"><block type="math_dist" id="D925y9wNS1}3lWizgC{w"><value name="p0"><block type="value" id="RWjq5B=;m@$kTL@sTOF5"><field name="TEXT">mouseX</field></block></value><value name="p1"><block type="value" id="cgzh9|PR7fNxQf@nIt2q"><field name="TEXT">mouseY</field></block></value><value name="p2"><block type="value" id="~e|mkZ66a6:)/9P%^w.Y"><field name="TEXT">320</field></block></value><value name="p3"><block type="value" id="5F4tom%()ZTFmjgDExgQ"><field name="TEXT">240</field></block></value></block></value><value name="p3"><block type="math_dist" id="$^P%a1B=$zkD2iVeQ_|)"><value name="p0"><block type="value" id="Uv[iLkLO+b*%!#p3pj(t"><field name="TEXT">mouseX</field></block></value><value name="p1"><block type="value" id="/)z:wdRjx`VixAT4v!(="><field name="TEXT">mouseY</field></block></value><value name="p2"><block type="value" id="y[lj*LuhUXLmF2zhKa,p"><field name="TEXT">320</field></block></value><value name="p3"><block type="value" id="s6Q_;Zofopt_??3*rMJ="><field name="TEXT">240</field></block></value></block></value></block></next></block></statement><next><block type="sprite_display" id="_N3_c.c,ujo{^20iHNQG"><field name="var_name">s</field></block></next></block></next></block></next></block></next></block></statement></block></xml>