A terminal-based presentation tool with colors and effects
github.com
github.com
Also reposting my comment from the asciimatics post that was here yesterday:
I made this on top of asciimatics, which is awesome! I had a lot of fun making this thanks to all the effects asciimatics already has.
I was also able to extend an internal asciimatics class to add a feature for pre-recorded playable code blocks. It lets you play code in your terminal presentation like someone's typing it! You can learn more about it here: https://present.readthedocs.io/en/latest/codio.html
It's a talk about (in Brandon's words) ASCII art animation, software architecture, the mysteries of UNIX terminal settings, and the glories of Plain Text. You should totally check it out!
Though I want to work on a terminal-based speaker notes view some time! https://github.com/vinayak-mehta/present/issues/5
These effects are supported right now: fireworks, explosions, stars, matrix, plasma. I plan to add more asciimatics effects soon!
function matrix () {
echo -e "\e[1;40m"
clear
while :; do
echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $(( $RANDOM % 72 ))
sleep 0.05
done|awk '{
letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをん@#$%^&*()";
c=$4; letter=substr(letters,c,1);a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter;
printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }
}'
}As for practical work-related side benefits, I've neither had my open-source work weigh in on the hiring process (as everyone still asks algorithms/data structures questions) nor earned much money through it. But I love building open-source tools that would be useful for people, including me (I used `present` for a talk some days ago), so you could say it's just a hobby at this point.
\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,I'll take a look!
Centos 8.2, Python 3.6.8, present Version: 0.4.0, pip 9.0.3. Tried with global and user install in pip. Not really a python dev, more of a user :)
https://github.com/marconilanna/REPLesent, a similar tool for Scala, supports this by pressing `r` on any slide - all code will be evaluated into the REPL.
Write markdown and it does the design for you.
I've been looking very closely at Marp[1], which is a engineer-focused solution to this.
I had played with writing a pandoc filter that would add formatting escape sequences based on markdown, your tool does a better job than where I got to.
One thing I want in a tool like this is to be able to display ascii charts like from gnuplot, which is why I liked the simplicity of Shellshow. I will have to dig in to see if this is possible, if not I expect it would be easy to add.
> One thing I want in a tool like this is to be able to display ascii charts like from gnuplot, which is why I liked the simplicity of Shellshow. I will have to dig in to see if this is possible, if not I expect it would be easy to add.
I've thought about adding charting features too! Asciimatics supports barcharts: https://asciimatics.readthedocs.io/en/stable/asciimatics.htm... and lets you extend classes to build other types of charts too.
Would you like to open an issue and describe this feature a bit in detail? https://github.com/vinayak-mehta/present/issues For example, what should the API look like, should it pick up data from a csv file and load it up into a barchart etc. I would love to work on this when I find time!
It does not have effects, but it can do colors and has many other features one would expect from a presentation tool. It has also been around for a while, it is rather stable and written in Haskell. Many Linux distributions already have it in their repositories (https://github.com/jaspervdj/patat#installation).
Worth trying out as well!
I was able to record `present` with asciinema, just need to see how nicely it renders into a GIF!