Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <script src="http://cringenormie.com/assets/my-other-code/star.js"></script>
- <script>
- window.onload = () => {
- new StarGame("canvas").source = class {
- Start(Star) {
- let $;
- let $$;
- let $$$;
- $ = new Star.Object.Line();
- $.Line.pointA = new Star.Vector2(10,10);
- $.Line.pointB = new Star.Vector2(110,10);
- $.Line.lineWidth = 2;
- $ = new Star.Object.Line();
- $.Line.pointA = new Star.Vector2(10,10);
- $.Line.pointB = new Star.Vector2(10,110);
- $.Line.lineWidth = 2;
- $ = new Star.Object.Line();
- $.Line.pointA = new Star.Vector2(110,110);
- $.Line.pointB = new Star.Vector2(10,110);
- $.Line.lineWidth = 2;
- $ = new Star.Object.Line();
- $.Line.pointA = new Star.Vector2(110,110);
- $.Line.pointB = new Star.Vector2(110,80);
- $.Line.lineWidth = 2;
- $$ = new Star.Object.Line();
- $$.Line.pointA = new Star.Vector2(125,10);
- $$.Line.pointB = new Star.Vector2(125,110);
- $$.Line.lineWidth = 2;
- $$ = new Star.Object.Line();
- $$.Line.pointA = new Star.Vector2(125,10);
- $$.Line.pointB = new Star.Vector2(225,10);
- $$.Line.lineWidth = 2;
- $$ = new Star.Object.Line();
- $$.Line.pointA = new Star.Vector2(225,10);
- $$.Line.pointB = new Star.Vector2(225,110);
- $$.Line.lineWidth = 2;
- $$ = new Star.Object.Line();
- $$.Line.pointA = new Star.Vector2(125,60);
- $$.Line.pointB = new Star.Vector2(225,60);
- $$.Line.lineWidth = 2;
- $$$ = new Star.Object.Line();
- $$$.Line.pointA = new Star.Vector2(240,10);
- $$$.Line.pointB = new Star.Vector2(240,60);
- $$$.Line.lineWidth = 2;
- $$$ = new Star.Object.Line();
- $$$.Line.pointA = new Star.Vector2(240,60);
- $$$.Line.pointB = new Star.Vector2(340,60);
- $$$.Line.lineWidth = 2;
- $$$ = new Star.Object.Line();
- $$$.Line.pointA = new Star.Vector2(340,10);
- $$$.Line.pointB = new Star.Vector2(340,60);
- $$$.Line.lineWidth = 2;
- $$$ = new Star.Object.Line();
- $$$.Line.pointA = new Star.Vector2(290,60);
- $$$.Line.pointB = new Star.Vector2(290,110);
- $$$.Line.lineWidth = 2;
- }
- }
- }
- </script>
- </head>
- <body>
- <canvas id="canvas" width=350 height=120></canvas>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement