x-point-direction.js

total 0
used 0
limit 0
/* files: ../point_src/math.js ../point_src/core/head.js ../point_src/pointpen.js ../point_src/pointdraw.js ../point_src/point-content.js ../point_src/pointlist.js ../point_src/point.js ../point_src/stage.js */ class MainStage extends Stage { // canvas = document.getElementById('playspace'); canvas = 'playspace' mounted(){ this.points = new PointList( new Point({ name: "up" , rotation: UP_DEG , x: 50, y: 50 }) , new Point({ name: "right" , rotation: RIGHT_DEG , x: 100, y: 50 }) , new Point({ name: "down" , rotation: DOWN_DEG , x: 150, y: 50 }) , new Point({ name: "left" , rotation: LEFT_DEG , x: 200, y: 50 }) , new Point({ name: "spinner" , x: 250, y: 50 }) ) } draw(ctx){ this.clear(ctx) this.points.last().rotation += 2 for(let p in this.points) { this.points[p].pen.indicator(ctx) } } } stage = MainStage.go(/*{ loop: true }*/)
Run
Meta Data
imports ()
files ('../point_src/math.js', '../point_src/core/head.js', '../point_src/pointpen.js', '../point_src/pointdraw.js', '../point_src/point-content.js', '../point_src/pointlist.js', '../point_src/point.js', '../point_src/stage.js')
unused_keys ('title',)
unknown_keys ()
filepath_exists True
path x-point-direction.js
filepath x-point-direction.js
clean_files ('../point_src/math.js', '../point_src/core/head.js', '../point_src/pointpen.js', '../point_src/pointdraw.js', '../point_src/compass.js', '../point_src/center.js', '../point_src/point-content.js', '../point_src/pointlistdraw.js', '../point_src/pointlistgradient.js', '../point_src/pointlistshape.js', '../point_src/pointlistgenerator.js', '../point_src/unpack.js', '../point_src/pointlist.js', '../point_src/relative-xy.js', '../point_src/pointcast.js', '../point_src/point.js', '../point_src/stage-resize.js', '../point_src/functions/resolve.js', '../point_src/stage.js')
markdown {'html': '', 'content': 'files:\n ../point_src/math.js\n ../point_src/core/head.js\n ../point_src/pointpen.js\n ../point_src/pointdraw.js\n ../point_src/point-content.js\n ../point_src/pointlist.js\n ../point_src/point.js\n ../point_src/stage.js'}