Lively Kernel canvas
null
null
1000
2.6919597959942267
Wikicontrol
true
0
null
(10)ApplicationsandWidgets
18
18
true
null
1
null
0
null
null
1000
0.13528189175969263
Wikicontrol
true
0
null
null
1000
1.6922796108322946
Wikicontrol
true
0
null
null
1000
0.596443753877887
Wikicontrol
true
0
null
null
1000
0.5739627593642067
Wikicontrol
true
0
null
null
1000
2.12768750687352
Wikicontrol
true
0
null
null
1000
0.04985060783128014
Wikicontrol
true
0
null
null
1000
0.11143051549700675
Wikicontrol
true
0
null
null
1000
1.5529674606261052
Wikicontrol
true
null
null
1000
1.658280877214983
Wikicontrol
true
null
null
1000
0.3526946634353478
Wikicontrol
true
null
null
1000
0.39090442859955427
Wikicontrol
true
null
null
1000
0.15242869675351234
Wikicontrol
true
null
Top
14
3
false
null
1
null
null
null
1000
0.668114183502329
Wikicontrol
true
null
null
1000
1.3424956306268658
Wikicontrol
true
null
null
1000
2.9728780185530446
Wikicontrol
true
null
null
1000
1.5879426835757395
Wikicontrol
true
null
null
1000
0.053874887774280365
Wikicontrol
true
null
InordertodemonstratethecapabilitiesoftheLivelyKernel,wehavewrittenorportedanumberofapplicationsandwidgetstorunonthesystem.AlltheseapplicationsandwidgetshavebeenwrittenentirelyinJavaScript.Belowweshowafewexamplesofapplicationsandwidgets.
14
24
true
null
0
null
2
null
null
1000
1.8317942982682758
Wikicontrol
true
null
null
1000
1.8492357209847636
Wikicontrol
true
null
Tryityourself!TryplayingtheAsteroidsgame.Clickonthetitlebartobringthewindowforward,andthenclickonthebackgroundofthegamewindowtosetittoreceivekeyboardevents.Keyboardcontrolsforthegameareasfollows:*S:startsthegame*P:pausesthegame*H:hyperspacejump*Arrowkeys:steer,accelerateanddeceleratetheship.Notethatalltheelementsoftheclockarefull-fledgedobjects.Forinstance,youcanmanipulatetheRomannumeralsorthehandsoftheclockusingthehandleoperationsdiscussedearlierinthistutorial.
14
7
383
false
null
400
null
null
Next
14
4
false
null
1
null
null
Prev
14
4
false
null
1
null
null
null
1000
4.248376022759343
Wikicontrol
true
null
this.clk=newClockMorph(pt(80,500),100);WorldMorph.current().addMorph(this.clk);this.clk.startSteppingScripts();
6
84
true
null
85
null
null
null
WorldMorph.current().addFramedMorph(newSquiggleMorph(pt(300,300)),'Freehand',pt(560,380));
6
0
false
null
0
null
null
null
require('Examples.js').toRun(function(unused,examplesModule){using(examplesModule.asteroids).run(function(app){this.gameMorph=app.makeGameMorph(pt(500,360).extent(pt(600,300)));WorldMorph.current().addMorph(newWindowMorph(this.gameMorph,'Asteroids!'));app.initialize();this.gameMorph.runAsteroidsGame();});});
1
false
null
159
null
null
1231407119328
48168
1
22
1231407119
null
null
true