Raylib-notes
In order to play with notes, to see them not as a plane text file, but as a collection of grouped thoughts, to the interconnection between the ideas I need to have a tool which can help me navigate and manage that.
Initial idea is simple:
Two dimensional plane, infinity canvas like, with rectangular blocks of text in it, which are interconnected with lines/arrows.
Functional to have:
- Add note
- Remove note
- Search by text
- Insert image from clipboard
- Drop file
- Group nodes/notes
- ...
Tool so far: Raylib library, the game framework. Already solves bunch of problems, goes with bindings for many languages. But I'm gonna try to write that in C, as a learning experience. Around 2009 I've learned Python after I saw the article in a magazine on using Pygame for indie game development, so.. Could be that I would be able to repeat that trick.
Steps I've tried already:
Found the template
repository https://github.com/raylib-extras/raylib-quickstart.git, tried to build it, and failed.
The failure
It was due to error: invalid value 'c23' in '-std=c23'. Turned out, my currently installed version of clang wasn't recent, so I had to update.
Example
I took example from the github repository: core_2d_camera_mouse_zoom.c
Next steps:
- open file and read line by line,
- draw these lines as a rectangles
- on the zoomable plane.