Git Product home page Git Product logo

mysterypancake / fun Goto Github PK

View Code? Open in Web Editor NEW
37.0 4.0 8.0 6.61 MB

Small fun scripts

License: MIT License

Lua 10.72% HTML 11.70% JavaScript 1.03% Shell 0.17% CSS 0.62% Batchfile 5.51% Swift 0.06% Python 0.14% VBScript 0.02% Java 1.66% AutoHotkey 53.56% GLSL 10.68% C++ 2.67% HLSL 1.46%
source source-engine garrys-mod garrysmod garry-mod lua fun glua gmod gmod-lua codea html javascript css batch visual-basic shell ahk autohotkey java

fun's Introduction

Fun

Small fun scripts I like playing with.

Websites

Calculates the formulas for an arithmetic sequence given 2 terms. In other words, it calculates a line through 2 points.

These formulas are actually inverse lerp and lerp. See my article here for more info!

Randomly slices up audio into segments and plays the result. Requested by Zoe (not sponsored)

A table of boolean comparisons made for the Boolean Math node in Blender.

I guess I didn't trust myself to get it right, since it's generated in JavaScript.

The simplest form of audio distortion, designed by Caleb for a guitar pedal. It's just Math.sign(sample).

Corrupts TomJedi9's holy gospel with horrible swear words and profanity. Not safe for work!

Did you know you can run simple code in CSS? Math totally works, just use counter-reset!

Draws a trail as you move the cursor around the page.

Spawns star particles as you move the cursor around the page.

Spawns bouncing balls as you move the cursor around the page.

Spawns a trail of stars as you move the cursor around the page.

The most beautiful music in the world, make sure to turn up your sound!

Faithful recreation of Google Chrome's login popup, great for doing ethical stuff with people's passwords!

The latest and greatest in frog drawing technology, made for Joseph Tonien's webdev class.

Ultra realistic hair blowing simulation definitely not made in 5 minutes. 10/10 better than Vellum in Houdini

Converts an image to a UMLet diagram. It recreates the image using coloured rectangle nodes for each pixel.

Inspired by my machine learning class at university. Draws the result of running k-nearest neighbors on a few points, which looks like voronoi.

Every pixel is drawn using an individual rectangle, so it's horribly slow. Use WebGL for good performance.

My old horribly broken method of smoothing with lerp. For much better methods, see my article here.

Trails a point travelling in a random direction, similar to Porter Robinson's music videos.

This is a form of simple brownian motion.

End of slide slow, click to exit. Great for trolling teachers.

Calculates interpolated windows of pulse width modulation, correcting the phase offset between windows.

This was originally designed for Cinema Sense, an app for blind people to experience films through other senses (like vibration).

Dumb brute force discrete simulation of a queue of customers, made for a problem solving course at university.

Smarter continuous simulation of a queue of customers, made for a problem solving course at university.

Plays an audio signal stored as a string of numbers.

Draws and plays many signal interpolation methods. I made this for debugging while making an audio plugin.

Sinc is the highest quality option for audio, but also the most expensive.

Calculates how much an image needs to be shrunk to fit under a certain number of megapixels.

I made this since Google Docs has an image size limit of 25 megapixels.

Solves easy and medium Sudoku boards with brute force elimination based on the Sudoku rules.

Made to cheat in daily Sudoku challenges, inspired by Ellen.

Converts UML syntax to Java code, filling in constructors, getters and setters where possible using fuzzy matching.

Supports basic syntax like +, -, #, getVar(), changeVar(), setVar(), and variables declared as type, name: type or type name

Supports some advanced syntax like <<read only>>, {read only}, /AbstractClass/, <<abstract>>, <<interface>>, __staticMethod()__

Also has basic support for <<enumerator>> and <<enum>>:

fun's People

Contributors

mysterypancake avatar mysterypancake1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.