All Projects → awalgarg → Alpg

awalgarg / Alpg

Visualize and inspect custom algorithms with time travelling

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Alpg

Ios tips
iOS的一些示例,持续更新中:1、AVFoundation 高仿微信相机拍摄和编辑 2、AVFoundation 人脸检测、实时滤镜、音视频编解码、GPUImage框架的使用等音视频相关内容 3、OpenGLES 4、LeetCode算法练习 5、iOS Crash防护和APM监控 6、WKWebView相关的内容 等........
Stars: ✭ 896 (+6792.31%)
Mutual labels:  algorithms
Java Competitive Programming
I have written some important Algorithms and Data Structures in an efficient way in Java with proper references to time and space complexity. These Pre-cooked and well-tested codes help to implement larger hackathon problems in lesser time. DFS, BFS, LCA, All Pair Shortest Path, Longest Common Subsequence, Binary Search, Lower Bound Search, Maximal Matching, Matrix Exponentiation, Segment Tree, Sparse Table, Merge Sort, Miller Prime Test, Prims - Minimum Spanning Tree, BIT - Binary Index Tree, Two Pointers, BST - Binary Search Tree, Maximum Subarray Sum, Immutable Data Structures, Persistent Data Structurs - Persistent Trie, Dijkstra, Z - Function, Minimum Cost Maximal Matching, Heavy Light Decomposition, Knapsack, Suffix Array and LCP - Longest Common Prefix, Squre Root Decomposition, Kth Order Statics, Trie / Prefix Tree, LIS - Longest Increasing Subsequence, Hashing
Stars: ✭ 24 (+84.62%)
Mutual labels:  algorithms
Awesome Ai Books
Some awesome AI related books and pdfs for learning and downloading, also apply some playground models for learning
Stars: ✭ 855 (+6476.92%)
Mutual labels:  algorithms
Prlib
Pre-Recognition Library - library with algorithms for improving OCR quality.
Stars: ✭ 18 (+38.46%)
Mutual labels:  algorithms
The Uplift Project Dsa
Stars: ✭ 20 (+53.85%)
Mutual labels:  algorithms
Leetcode Downloader
Download your accepted LeetCode submissions
Stars: ✭ 25 (+92.31%)
Mutual labels:  algorithms
Hackerrank
HackerRank solutions in Java/JS/Python/C++/C#
Stars: ✭ 829 (+6276.92%)
Mutual labels:  algorithms
Huprog
A repo which includes the HUPROG'17(Hacettepe University Programming Contest)'s questions and the solutions of that questions.
Stars: ✭ 11 (-15.38%)
Mutual labels:  algorithms
Play With Algorithm Interview
Codes of my MOOC Course <Play with Algorithm Interviews>. Updated contents and practices are also included. 我在慕课网上的课程《玩儿转算法面试》示例代码。课程的更多更新内容及辅助练习也将逐步添加进这个代码仓。
Stars: ✭ 915 (+6938.46%)
Mutual labels:  algorithms
Competitive Programming Library
A library designed to improve your competitive programming performance.
Stars: ✭ 26 (+100%)
Mutual labels:  algorithms
Ps
Problem Solving
Stars: ✭ 901 (+6830.77%)
Mutual labels:  algorithms
Algorithms
Algorithms and data structures exercises
Stars: ✭ 19 (+46.15%)
Mutual labels:  algorithms
Stanford University Algorithms
Assignments of Stanford University - Algorithms from Coursera
Stars: ✭ 25 (+92.31%)
Mutual labels:  algorithms
Club De Algoritmia Upiiz Ipn
Es un repositorio donde todo miembro del club puede ver tanto problemas resueltos, algoritmos como ejercicios de clase, de una manera facil
Stars: ✭ 18 (+38.46%)
Mutual labels:  algorithms
Awesome Unam
A curated list of awesome engineering ecosystem, including UNAM Projects
Stars: ✭ 10 (-23.08%)
Mutual labels:  algorithms
Awesome Ai Ml Dl
Awesome Artificial Intelligence, Machine Learning and Deep Learning as we learn it. Study notes and a curated list of awesome resources of such topics.
Stars: ✭ 831 (+6292.31%)
Mutual labels:  algorithms
Haskell
Implementation of All ▲lgorithms in Haskell Programming Language
Stars: ✭ 25 (+92.31%)
Mutual labels:  algorithms
Phpalgorithms
A collection of common algorithms implemented in PHP. The collection is based on "Cracking the Coding Interview" by Gayle Laakmann McDowell
Stars: ✭ 865 (+6553.85%)
Mutual labels:  algorithms
Algo.js
A Very Basic into Intermediate Algorithm Lesson
Stars: ✭ 11 (-15.38%)
Mutual labels:  algorithms
Javascript Data Structures And Algorithms
Exercises, algorithms
Stars: ✭ 26 (+100%)
Mutual labels:  algorithms

alpg

alpg is an in-browser algorithm playground to visualize your own custom algorithms and share them with others. it features a time-travelling inspector and hot-swapping view mechanism. See an example with bubble sort at http://awal.js.org/alpg/?gist=8b5c6679edc3b85106fb

How

Please read the Getting Started doc at the wiki.

If you are a JS developer familiar with function programming (and optionally virtual-dom) already, it would be very easy to understand what's happening just by looking at the example above.

features

  • provides ace editor to write algos in-app
  • support for injecting custom css (the css is changed as you type, and is scoped to the render of your algo, so you can change it while an algorithm is running)
  • sharing algorithms
  • swapping the renderer while the algorithm is running!
  • media player style playback of rendered states
  • custom logger (use the logger object in your algorithm code)

Screenshots

enter image description here

why not provide awesome feature X as well?

Mostly because of UX issues. Providing lots of things at once often spoils everything.

Feel free to open an issue. If anyone can come up with a way to provide drastic features in a way that don't hamper usability of the current feature-set, I am happy to add that feature. Patches welcome as well, but please open an issue first.

keyboard shortcuts

  • Ctrl+Enter resets state and runs the algorithm from start
  • Left Arrow switch to previous frame
  • Right Arrow switch to next frame
  • Spacebar toggle automatic play

Author

Awal Garg

License

WTFPL

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].