Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.31 KB | None | 0 0
  1. <html>
  2.     <head>
  3.         <script src="http://cringenormie.com/assets/my-other-code/star.js"></script>
  4.         <script>
  5.             window.onload = () => {
  6.                 new StarGame("canvas").source = class {
  7.                     Start(Star) {
  8.                         let $;
  9.                         let $$;
  10.                         let $$$;
  11.                         $ = new Star.Object.Line();
  12.                         $.Line.pointA = new Star.Vector2(10,10);
  13.                         $.Line.pointB = new Star.Vector2(110,10);
  14.                         $.Line.lineWidth = 2;
  15.                         $ = new Star.Object.Line();
  16.                         $.Line.pointA = new Star.Vector2(10,10);
  17.                         $.Line.pointB = new Star.Vector2(10,110);
  18.                         $.Line.lineWidth = 2;
  19.                         $ = new Star.Object.Line();
  20.                         $.Line.pointA = new Star.Vector2(110,110);
  21.                         $.Line.pointB = new Star.Vector2(10,110);
  22.                         $.Line.lineWidth = 2;
  23.                         $ = new Star.Object.Line();
  24.                         $.Line.pointA = new Star.Vector2(110,110);
  25.                         $.Line.pointB = new Star.Vector2(110,80);
  26.                         $.Line.lineWidth = 2;
  27.                         $$ = new Star.Object.Line();
  28.                         $$.Line.pointA = new Star.Vector2(125,10);
  29.                         $$.Line.pointB = new Star.Vector2(125,110);
  30.                         $$.Line.lineWidth = 2;
  31.                         $$ = new Star.Object.Line();
  32.                         $$.Line.pointA = new Star.Vector2(125,10);
  33.                         $$.Line.pointB = new Star.Vector2(225,10);
  34.                         $$.Line.lineWidth = 2;
  35.                         $$ = new Star.Object.Line();
  36.                         $$.Line.pointA = new Star.Vector2(225,10);
  37.                         $$.Line.pointB = new Star.Vector2(225,110);
  38.                         $$.Line.lineWidth = 2;
  39.                         $$ = new Star.Object.Line();
  40.                         $$.Line.pointA = new Star.Vector2(125,60);
  41.                         $$.Line.pointB = new Star.Vector2(225,60);
  42.                         $$.Line.lineWidth = 2;
  43.                         $$$ = new Star.Object.Line();
  44.                         $$$.Line.pointA = new Star.Vector2(240,10);
  45.                         $$$.Line.pointB = new Star.Vector2(240,60);
  46.                         $$$.Line.lineWidth = 2;
  47.                         $$$ = new Star.Object.Line();
  48.                         $$$.Line.pointA = new Star.Vector2(240,60);
  49.                         $$$.Line.pointB = new Star.Vector2(340,60);
  50.                         $$$.Line.lineWidth = 2;
  51.                         $$$ = new Star.Object.Line();
  52.                         $$$.Line.pointA = new Star.Vector2(340,10);
  53.                         $$$.Line.pointB = new Star.Vector2(340,60);
  54.                         $$$.Line.lineWidth = 2;
  55.                         $$$ = new Star.Object.Line();
  56.                         $$$.Line.pointA = new Star.Vector2(290,60);
  57.                         $$$.Line.pointB = new Star.Vector2(290,110);
  58.                         $$$.Line.lineWidth = 2;
  59.                     }
  60.                 }
  61.             }
  62.         </script>
  63.     </head>
  64.     <body>
  65.         <canvas id="canvas" width=350 height=120></canvas>
  66.     </body>
  67. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement