GraphvizOnline
ganja.js
GraphvizOnline | ganja.js | |
---|---|---|
28 | 8 | |
747 | 1,492 | |
- | - | |
3.2 | 2.5 | |
about 2 months ago | 4 months ago | |
JavaScript | JavaScript | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GraphvizOnline
-
Ask HN: Who's Seeking New Friends?
(paste it into https://dreampuf.github.io/GraphvizOnline to see a visual representation)
Where task 1 diverges, you can run task2 and task3 in parallel, because they don't depend on eachother's outputs. Then you need to join task4 and task5 to task6.
My email is in my profile, I'd love to chat about your thoughts on what futuristic software means to you. For me it means futuristic interactions with computers, alternative approaches to programming.
- What are the must-visit websites you use every day?
-
Terraform: Advanced Commands Overview
You can view this file with the Graphviz binary or an online tool like Graphviz Viewer.
-
Is there an AI that can generate logical diagrams or er diagrams like these?
You can copy and paste this DOT graph code into an online graph visualization tool like GraphvizOnline to see the visual representation of the code flow.
-
The "Show Me" plugin lets GPT-4 create diagrams and is pretty neat
You can ask gpt to output as (mermaid / graphvis digraph) format via a code block. Then view inside a valid viewer like https://mermaid.live or https://dreampuf.github.io/GraphvizOnline
-
The Factions of Doskvol, Visualized
Visualization was made by me using GraphVIZ, and rendered using dot. You can see the source here, and you can mess around with it by plugging the source into this handy website. You can remove factions you don't care about, or update to fit the fiction in your game..
- What workaround do you use to make ChatGPT draw diagrams?
-
Quest 9 : Looking Back
After moving through the new Graph, is_cyclic, and prune you get to the real meat and potatoes: shortest unweighted, shortest weighted, and max flow. In the following I want to discuss some representation/visualization (shoutout Graphviz).
-
Favorite Pipeline/Methods Figure
https://dreampuf.github.io/GraphvizOnline/ for making a basic figure.
-
Optimal minimal resource calculations for end-game 100% efficiency 1-Machine usage flow
Note: - Tools used Graphbiz and dot language: https://dreampuf.github.io/GraphvizOnline - Source: https://satisfactory.fandom.com - Recipes used are the best based on a resource-weighted analysis (Weighted Point is the weighted consumption rate which is calculated by: (resource consumption rate / maximum extraction rate) * 10,000. The lower the better. ) - Some numbers have been simplified i.e. 8.8888 to 9 to simplify other calculations. - Energy and its resource needs are not included
ganja.js
-
The Montreal Problem: Why Programming Languages Need a Style Czar
Some people's brains just work this way. Here's an example of a somewhat popular and regularly maintained library written in a similar style: https://github.com/enkimute/ganja.js/blob/6e97cb45d780cd7c66...
Once your learn to recognise the commonalities, you'll see examples everywhere. The most extreme and stereotypical version is the billboards written by some homeless people. You can probably picture it already in your mind's eye: A wall of very dense text with little whitespace or structure, and a mix of fonts and colours seemingly at random.
I had a brilliant mathematician friend who wrote like this. He would squeeze and entire semester's worth of study notes into a single sheet of paper, on one side. It was impenetrable gibberish to everyone else, but the colours and 2D positioning let him build a mental mind-map.
For people like this, if you reformat their code even a tiny bit, their mental map is invalidated, and they lose track of it completely and become upset. I discovered this (the hard way) when applying automatic code formatting tools to the codebases I mentioned previously.
Personally, I find this type of thing to be absolutely fascinating, because it's the intersection of many fields of study, and hence is under-studied. There's elements of pedagogy, psychology, literacy, compute science, etc...
It's an open question how we can get large groups of neurodiverse humans to collaborate on a codebase when they don't even "read" or "think" in compatible ways!
-
[Media] I finished my first rust project: a path tracer
I was watching bivector videos and how it could be a viable replacement for matrix algebra in video games and I have been very impressed by the intuitiveness and consistency of the equations. There is this ganja.js for demonstrating the graphics and has a rust generated code https://github.com/enkimute/ganja.js/tree/master/codegen/rust I'm too naive to understand the implementation, but I'm glad a library like ultraviolet is here to start paving the use of Geometric Algebra in computer graphics.
- Ask HN: What are some examples of elegant software?
-
Manim: An animation engine for explanatory math videos
Well I've been on a real Geometric Algebra (aka Clifford Algebra) kick lately, and ran across ganja.js [1]. It's a single no deps file that is...impressive. 120k uncompressed, and with it you can construct any degree algebra (including the more esoteric hyperbolic/parabolic ones), render to canvas, svg or webgl(!). It also includes a clever little DSL parser and interpreter (it overloads the scientific notation to name basis vectors!) that lets you construct more complex things from simple things using various kinds of products.
The author, Steven De Keninck, is quite impressive as well, having got his start in the demoscene some time ago. He has a good video from 2019 that explains why this algebra is better than [matrices, tensors, vectors, complex numbers]. Of particular interest (to me anyway) is the 2D projective geometry.
I don't want to oversell it, but ganja is fucking amazing and there is a great deal I want to do with it. For one, I'd like to recapitulate my physics degree with it.
[1] https://github.com/enkimute/ganja.js
[2] https://www.youtube.com/watch?v=tX4H_ctggYo
-
Ganja.js: Geometric Algebra Generator for JavaScript
Great documentation!
- Ganja.js: Geometric Algebra Generator for JavaScript, C++, C#, Rust, Python
What are some alternatives?
Azure-PlantUML - PlantUML sprites, macros, and other includes for Azure services
manim - A community-maintained Python framework for creating mathematical animations.
elk - Eclipse Layout Kernel - Automatic layout for Java applications.
manim - Animation engine for explanatory math videos
flowchart-fun - Easily generate flowcharts and diagrams from text ⿻
perspective - A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
Stockfish - A free and strong UCI chess engine
d3-graphviz - Graphviz DOT rendering and animated transitions using D3
r2vr - R to Virtual Reality
jQuery-menu-aim - jQuery plugin to fire events when user's cursor aims at particular dropdown menu items. For making responsive mega dropdowns like Amazon's.
TermKit - Experimental Terminal platform built on WebKit + node.js. Currently only for Mac and Windows, though the prototype works 90% in any WebKit browser.