Skip to content

Instantly share code, notes, and snippets.

View roboshoes's full-sized avatar

Mathias Paumgarten roboshoes

View GitHub Profile
@roboshoes
roboshoes / post-processing-canvas-sketch.ts
Created July 8, 2018 02:05
Setup to use canvas-recorder in combination with image-shader.
import { draw, options, stop, start, bootstrap } from "canvas-recorder/gl";
import { ImageShader } from "image-shader";
// @ts-ignore
import fragment from "./fragmant.glsl";
const SIZE = 1024;
const canvas = document.createElement( "canvas" );
canvas.width = SIZE;
@roboshoes
roboshoes / index.html
Last active February 16, 2019 09:24
Basic setup with no dependencies to render fullscreen fragment shaders.
<!DOCTYPE html>
<html>
<head>
<style>
html, body {
margin: 0;
padding: 0;
overflow: hidden;
}
@roboshoes
roboshoes / package.json
Created July 27, 2016 18:11
NPM Scripts only build process for: TypeScript + Browserify, Jade, Less and serving and watching through Lite Server
{
"name": "",
"version": "0.1.0",
"scripts": {
"start": "npm run all && concurrently \"npm run tsc:w\" \"npm run less:w\" \"npm run watchify\" \"npm run lite\" \"npm run pug:w\" ",
"all" : "npm run prep && npm run assets && tsc && npm run browserify && npm run pug",
"lite": "lite-server public",
"postinstall": "typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
@roboshoes
roboshoes / touchmouse.js
Created April 13, 2012 10:43
This snippet maps mouse events and touch events onto one single event. This makes it easier in the code since you have to listen to only one event regardles whether it's desktop or mobile.
(function() {
/* == GLOBAL DECLERATIONS == */
TouchMouseEvent = {
DOWN: "touchmousedown",
UP: "touchmouseup",
MOVE: "touchmousemove"
}
/* == EVENT LISTENERS == */
@roboshoes
roboshoes / challenge.json
Created August 22, 2023 01:05
Solution to Challenge 1
{
"Name": "Challenge 1 Login",
"CreationDate": "2023-8-21",
"Commands": [
{
"Command": "open",
"Target": "https://developer.automationanywhere.com/challenges/AutomationAnywhereLabs-Login.html?_gl=1*11gchew*_ga*MTcxNzY5NDIwLjE2OTI2NDYwNjM.*_ga_DG1BTLENXK*MTY5MjY2MDE4Mi4yLjEuMTY5MjY2MDIyMC4yMi4wLjA.&_ga=2.245163589.1726161213.1692646063-171769420.1692646063&_fsi=biLWhpkR",
"Value": "",
"Description": ""
},