Initial commit of grezi journey
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Isaac Mills 2024-10-18 12:09:07 -06:00
parent 9157459786
commit 631ee7539d
Signed by: fnmain
GPG key ID: B67D7410F33A0F61
3 changed files with 66 additions and 0 deletions

BIN
assets/bad_slide.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/manim_in_action.png (Stored with Git LFS) Normal file

Binary file not shown.

60
src/grezi_journey.dj Normal file
View file

@ -0,0 +1,60 @@
`attributes`{published="2024-10-18 10:25"}
# Presentation as plain-text, the journey of my favorite pet project
I am tired, alright, sick and tired of people making boring presentations. And I'm also tired of slideshow programs making it difficult to _make_ good presentations.
## The Problem
Software already exists to make really nice presentations, for instance [3BlueOneBrown's](https://www.youtube.com/@3blue1brown) [Manim](https://github.com/3b1b/manim), which he uses to make super engaging math videos. But Manim requires you to write Python code, which makes the software relatively difficult to use.
[![Manim in action](assets/manim_in_action.png)](https://www.youtube.com/watch?v=rbu7Zu5X1zI)
At the other end of the spectrum, you could be using Google Slides or PowerPoint. Those programs make it really easy to make boring, run-of-the-mill presentations. Really the only way to make a presentation look _good_ is by using one of their themes, but as you see more and more presentations from those software's, the themes become stale and overplayed.
![A bad Google Slides slide I helped make in high school](assets/bad_slide.png)
My big gripes with these pieces of software derive from the 2 things they encourage:
1. Imperfection: If you want to, say, put an image in your slide. These softwares might help you a little bit by snapping those images into specific places, but you still have to put in a lot of effort to make slides where everything is aligned with eachother, and everything is pixel perfect.
2. Text walls: The template slides in most themes encourage people to put word salads on each slide, something I particularly don't like. It's so much better to have many slides with little amounts of information per-slide, than to have less slides with large amounts of information per-slide, but because making good slides in these softwares is such a hassle, making more slides isn't desirable.
To my suprise, I couldn't find any pieces of software that met the happy medium I was looking for. Something that could create engaging presentations, with lots of slides containing little information, where every slide is pixel perfect, with a little amount of effort.
## My Solution
Over the last year, I've been working on my masterpiece. A presentation software that was everything I was looking for. My "presentation as plain-text" platform, Grezi.
``` =html
<div style="position: relative; width: 100%; height: 0; padding-bottom: 56.25%;">
<iframe style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;" src="https://git.nations.lol/grezi/#Linked%20Lists.slideshow", width="1920" height="1080"></iframe>
</div>
```
The idea was simple. Everything you put on a slide is an object, every object moves between slides, and every object is placed on a slide using a simple system of screen splitting that makes it easy to position everything perfectly aligned with everything else on a slide. The language used to make slideshows looks like this:
```grz
ViewBox: Size[0] ^
1:2,
1:2,
]
Title: Header(
value: "*Hello World*",
)
Subtitle: Paragraph(
value: "By author",
)
{
Title: ViewBox[0]^^..,
Subtitle: ViewBox[1]__..,
}[]
```
Of course, I'm not here to teach you the software, you can find the docs for it [here](https://git.nations.lol/grezi-docs). I'm here to walk you through the software's journey from concept, to the `iframe` you see above (PDF readers, see the webpage version of this article for that). Everything it took to get from the first lines of code, to impressing my college professor enough to make an exception for my group when we ran out of class time to present. Let's start from the beginning.
## The Beginning
This project started all the way back in January of 2022. At that point, it produced exactly one D level presentation (thanks Mrs. H), and one pretty okay presentation for my Psychology class. I decided to completely rewrite grezi in September of 2023. Between that iteration of the software and now, the presentation language and idea has changed very little. The changes that have taken a full year to implement have been quality-of-life improvements. Today, the part of the software that renders the presentation is the smallest component of it, everything else is to make grezi easy to work with.