{"id":20863193,"url":"https://github.com/mysterypancake/fun","last_synced_at":"2025-05-12T09:31:43.213Z","repository":{"id":56935657,"uuid":"91234954","full_name":"MysteryPancake/Fun","owner":"MysteryPancake","description":"Small fun scripts","archived":false,"fork":false,"pushed_at":"2024-08-29T05:18:41.000Z","size":6773,"stargazers_count":38,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T05:11:20.388Z","etag":null,"topics":["ahk","autohotkey","batch","codea","css","fun","garry-mod","garrys-mod","garrysmod","glua","gmod","gmod-lua","html","java","javascript","lua","shell","source","source-engine","visual-basic"],"latest_commit_sha":null,"homepage":"","language":"AutoHotkey","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MysteryPancake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-14T10:07:18.000Z","updated_at":"2024-12-05T20:34:16.000Z","dependencies_parsed_at":"2023-02-19T06:00:56.445Z","dependency_job_id":"5cf4b63f-c0d3-4e78-9b34-2edd79b475b9","html_url":"https://github.com/MysteryPancake/Fun","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryPancake%2FFun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryPancake%2FFun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryPancake%2FFun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryPancake%2FFun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MysteryPancake","download_url":"https://codeload.github.com/MysteryPancake/Fun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253709159,"owners_count":21951111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ahk","autohotkey","batch","codea","css","fun","garry-mod","garrys-mod","garrysmod","glua","gmod","gmod-lua","html","java","javascript","lua","shell","source","source-engine","visual-basic"],"created_at":"2024-11-18T05:27:59.878Z","updated_at":"2025-05-12T09:31:41.544Z","avatar_url":"https://github.com/MysteryPancake.png","language":"AutoHotkey","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fun\nSmall fun scripts I like playing with.\n\n## Websites\n\n### [Arithmetic Sequence Calculator](https://mysterypancake.github.io/Fun/html/arithmetic)\n\nCalculates the formulas for an arithmetic sequence given 2 terms. In other words, it calculates a line through 2 points.\n\nThese formulas are actually inverse lerp and lerp. [See my article here for more info!](https://github.com/MysteryPancake/Houdini-Fun/blob/main/Lerp.md)\n\n\u003cimg src=\"./images/arithmetic.png\" width=\"500\"\u003e\n\n### [Random Audio Splicer](https://mysterypancake.github.io/Fun/html/audiosplicer)\n\nRandomly slices up audio into segments and plays the result. Requested by Zoe (not sponsored)\n\n\u003cimg src=\"./images/audiosplicer.png\" width=\"500\"\u003e\n\n### [Boolean Comparisons](https://mysterypancake.github.io/Fun/html/booleancomparisons)\n\nA table of boolean comparisons made for the [Boolean Math node in Blender](https://projects.blender.org/blender/blender/commit/14f6afb09003903a25872e6b05c67411db5e5267).\n\nI guess I didn't trust myself to get it right, since it's generated in JavaScript.\n\n\u003cimg src=\"./images/booleancomparisons.png\" width=\"500\"\u003e\n\n### [Caleb Fuzz](https://mysterypancake.github.io/Fun/html/calebfuzz)\n\nThe simplest form of audio distortion, designed by Caleb for a guitar pedal. It's just `Math.sign(sample)`.\n\n\u003cimg src=\"./images/calebfuzz.png\" width=\"500\"\u003e\n\n### [Text Corruption](https://mysterypancake.github.io/Fun/html/corrupt)\n\nCorrupts [TomJedi9's holy gospel](https://www.youtube.com/watch?v=QLvFdsggaNQ) with horrible swear words and profanity. Not safe for work!\n\n\u003cimg src=\"./images/corrupt.png\" width=\"500\"\u003e\n\n### [CSS Programming](https://mysterypancake.github.io/Fun/html/cssprogram)\n\nDid you know you can run simple code in CSS? Math totally works, just use `counter-reset`!\n\n\u003cimg src=\"./images/cssprogram.png\" width=\"500\"\u003e\n\n### [Cursor Draw](https://mysterypancake.github.io/Fun/html/cursordraw)\n\nDraws a trail as you move the cursor around the page.\n\n\u003cimg src=\"./images/cursordraw.png\" width=\"500\"\u003e\n\n### [Cursor Particles](https://mysterypancake.github.io/Fun/html/cursorparticles)\n\nSpawns star particles as you move the cursor around the page.\n\n\u003cimg src=\"./images/cursorparticles.png\" width=\"500\"\u003e\n\n### [Cursor Physics](https://mysterypancake.github.io/Fun/html/cursorphysics)\n\nSpawns bouncing balls as you move the cursor around the page.\n\n\u003cimg src=\"./images/cursorphysics.png\" width=\"500\"\u003e\n\n### [Cursor Trail](https://mysterypancake.github.io/Fun/html/cursortrail)\n\nSpawns a trail of stars as you move the cursor around the page.\n\n\u003cimg src=\"./images/cursortrail.png\" width=\"500\"\u003e\n\n### [Earrape](https://mysterypancake.github.io/Fun/html/earrape)\n\nThe most beautiful music in the world, make sure to turn up your sound!\n\n\u003cimg src=\"./images/earrape.png\" width=\"500\"\u003e\n\n### [Fake Login](https://mysterypancake.github.io/Fun/html/fakelogin)\n\nFaithful recreation of Google Chrome's login popup, great for doing ethical stuff with people's passwords!\n\n\u003cimg src=\"./images/fakelogin.png\" width=\"500\"\u003e\n\n### [Frog Drawer](https://mysterypancake.github.io/Fun/html/frogdrawer)\n\nThe latest and greatest in frog drawing technology, made for Joseph Tonien's webdev class.\n\n\u003cp align=\"left\"\u003e\n  \u003cimg src=\"./images/frogdrawer.png\" width=\"500\"\u003e\n  \u003cimg src=\"./images/frogdrawer2.png\" width=\"500\"\u003e\n\u003c/p\u003e\n\n### [Hair Blower](https://mysterypancake.github.io/Fun/html/hairblower)\n\nUltra realistic hair blowing simulation definitely not made in 5 minutes. 10/10 better than Vellum in Houdini\n\n\u003cimg src=\"./images/hairblower.png\" width=\"500\"\u003e\n\n### [Image to UML](https://mysterypancake.github.io/Fun/html/imagetouml)\n\nConverts an image to a UMLet diagram. It recreates the image using coloured rectangle nodes for each pixel.\n\n\u003cimg src=\"./images/imagetouml.png\" width=\"500\"\u003e\n\n### [K-Nearest Neighbors](https://mysterypancake.github.io/Fun/html/knearestneighbors)\n\nInspired by my machine learning class at university. Draws the result of running k-nearest neighbors on a few points, which looks like voronoi.\n\nEvery pixel is drawn using an individual rectangle, so it's horribly slow. [Use WebGL for good performance.](https://www.shadertoy.com/view/MslGD8)\n\n\u003cimg src=\"./images/knearestneighbors.png\" width=\"500\"\u003e\n\n### [Lerp Smoother](https://mysterypancake.github.io/Fun/html/lerpsmoother)\n\nMy old horribly broken method of smoothing with lerp. [For much better methods, see my article here.](https://mysterypancake.github.io/Houdini-Fun/TimeSmoothing)\n\n\u003cimg src=\"./images/lerpsmoother.png\" width=\"500\"\u003e\n\n### [Porter Trail](https://mysterypancake.github.io/Fun/html/portertrail)\n\nTrails a point travelling in a random direction, similar to [Porter Robinson's music videos.](https://www.youtube.com/watch?v=ahEovqzpLeU)\n\nThis is a form of [simple brownian motion](https://www.youtube.com/watch?v=ZNzoTGv_XiQ).\n\n\u003cimg src=\"./images/portertrail.png\" width=\"500\"\u003e\n\n### [PowerPoint](https://mysterypancake.github.io/Fun/html/powerpoint)\n\nEnd of slide slow, click to exit. Great for trolling teachers.\n\n\u003cimg src=\"./images/powerpoint.png\" width=\"500\"\u003e\n\n### [Pulse Width Modulation](https://mysterypancake.github.io/Fun/html/pwm)\n\nCalculates interpolated windows of pulse width modulation, correcting the phase offset between windows.\n\nThis was originally designed for Cinema Sense, an app for blind people to experience films through other senses (like vibration).\n\n\u003cimg src=\"./images/pwm.png\" width=\"500\"\u003e\n\n### [Queue Simulator](https://mysterypancake.github.io/Fun/html/queuesimulator)\n\nDumb brute force discrete simulation of a queue of customers, made for a problem solving course at university.\n\n\u003cimg src=\"./images/queuesimulator.png\" width=\"500\"\u003e\n\n### [Queue Visualiser](https://mysterypancake.github.io/Fun/html/queuevisualiser)\n\nSmarter continuous simulation of a queue of customers, made for a problem solving course at university.\n\n\u003cimg src=\"./images/queuevisualiser.png\" width=\"500\"\u003e\n\n### [Raw Audio Player](https://mysterypancake.github.io/Fun/html/rawaudio)\n\nPlays an audio signal stored as a string of numbers.\n\n\u003cimg src=\"./images/rawaudio.png\" width=\"500\"\u003e\n\n### [Resampling](https://mysterypancake.github.io/Fun/html/resampling)\n\nDraws and plays many signal interpolation methods. I made this for debugging while making an audio plugin.\n\nSinc is the highest quality option for audio, but also the most expensive.\n\n\u003cimg src=\"./images/resampling.png\" width=\"500\"\u003e\n\n### [Resize Calculator](https://mysterypancake.github.io/Fun/html/resizecalculator)\n\nCalculates how much an image needs to be shrunk to fit under a certain number of megapixels.\n\nI made this since Google Docs has an image size limit of 25 megapixels.\n\n\u003cimg src=\"./images/resizecalculator.png\" width=\"500\"\u003e\n\n### [Brute Force Sudoku Solver](https://mysterypancake.github.io/Fun/html/sudoku)\n\nSolves easy and medium Sudoku boards with brute force elimination based on the Sudoku rules.\n\nMade to cheat in daily Sudoku challenges, inspired by Ellen.\n\n\u003cimg src=\"./images/sudoku.png\" width=\"500\"\u003e\n\n### [UML to Java Converter](https://mysterypancake.github.io/Fun/html/umltojava)\n\nConverts UML syntax to Java code, filling in constructors, getters and setters where possible using fuzzy matching.\n\nSupports basic syntax like `+`, `-`, `#`, `getVar()`, `changeVar()`, `setVar()`, and variables declared as `type`, `name: type` or `type name`\n\n\u003cimg src=\"./images/umltojava.png\" width=\"500\"\u003e\n\nSupports some advanced syntax like `\u003c\u003cread only\u003e\u003e`, `{read only}`, `/AbstractClass/`, `\u003c\u003cabstract\u003e\u003e`, `\u003c\u003cinterface\u003e\u003e`, `__staticMethod()__`\n\n\u003cimg src=\"./images/umltojava2.png\" width=\"500\"\u003e\n\nAlso has basic support for `\u003c\u003cenumerator\u003e\u003e` and `\u003c\u003cenum\u003e\u003e`:\n\n\u003cimg src=\"./images/umltojava3.png\" width=\"500\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysterypancake%2Ffun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysterypancake%2Ffun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysterypancake%2Ffun/lists"}