Code:nodes.c: Difference between revisions

1,101 bytes added ,  30 November 2022
no edit summary
(Created page with "<syntaxhighlight lang="c"> /*** This is my new graph nodes program. I don't know what to call it yet. To compile: gcc nodes.c -o nodes -ffast-math -O -lm -lGL -lglut -lpthread This program has runtime dependencies: File in working directory: "font.data-uint8-1004x19" Installed packages: 'zenity' and 'leafpad' Copyright 2022, Elie Goldman Smith This program is FREE SOFTWARE: you can redistribute it and/or modify it under the terms of the GNU General...")
 
No edit summary
 
Line 1: Line 1:
Writing content sucks. Knowledge is complex and interconnected, but language is linear. No matter how much time you spend editing, it will never flow as well as it could.
That's why I decided to make a new format for content:
* Everything is a [[directed graph]].
* Nodes contain ''short'' pieces of text
** In the next versions, I plan to also have image nodes and [[calculator]] nodes.
* Think of it like a gigantic flowchart or mindmap, but you can fit more content than you ever could on a page.
I hope to turn this program into a web app, so that no one has to download & compile code just to view some content. For now, it's just a small experimental desktop app. It's very unfinished and I will probably change a lot in future versions. I haven't even written the usage instructions yet.
Author: [[User:Elie]]
==Dependencies==
Code
* [[Code:fullscreen_main.h]]
* [[Code:text-quads.h]]
Data
* [[File:font.data-uint8-1004x19]]
Installed programs
* [https://help.gnome.org/users/zenity/stable/ zenity]
* [http://tarot.freeshell.org/leafpad/ leafpad]
This program only runs on Linux.
==Code==
<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
/***
/***