Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Diagnostics;
using Gapotchenko.FX.Diagnostics;
using Newtonsoft.Json;
namespace GetProcessEnv
{
internal static class Program
{
public static void Main(string[] args)
export function windMouse(start: Coordinates, dest: Coordinates, G0: number = 9, W0: number = 3, M0: number = 15, D0: number = 12): Coordinates[] {
let startX = start.x;
let startY = start.y;
const destX = dest.x;
const destY = dest.y;
let currentX = startX
let currentY = startY
let vX = 0, vY = 0, Wx = 0, Wy = 0
@monkekode
monkekode / index.html
Created December 1, 2021 10:49
Record Mouse in Browser using JS.
<div class="cursor"></div>
<button class="p" onclick="recorder.playback()">stop & play</button>
<button class="r" onclick="recorder.record()">record</button>
<div class="obstacle"></div>