Created by Asvin Goel
Please click the play button below.
Have you ever missed the traditional classroom experience where you can quickly sketch something on a chalkboard?
Just press 'b' or click on the button to open and close your chalkboard.
After you are done please advance to the next slide and click the play button again.
Did you notice the button?
By pressing 'c' or clicking the button you can start and stop the notes taking mode allowing you to write comments and notes directly on the slide.
After you are done please advance to the next slide and click the play button again.
By default, a drawing cannot be edited after navigating away from the slide.
Please check out Github for a documentation of the settings.
The plugin records all drawings and you can download them in a JSON-file by pressing 'd'.
The pre-recorded drawings can be added to the slideshow for playback.
If you are not an artist, you can also create a JSON-file based on an SVG image.
Source: Wikimedia
grep 'd=\"M' Manga_lines.svg | sed 's/L/ /g' | sed -e 's/ */ /g' | sed 's/d="M//g' | sed 's/"//g' > tmp.csv
BEGIN=4000
JSON=`cat tmp.csv | while read LINE; do
END=$((BEGIN + 500))
OUTPUT=$OUTPUT'{"type":"draw","begin":'$BEGIN',"end":'$END',"curve":['
BEGIN=$END
prefix='{"x":'
suffix=','
for i in $LINE; do
if [ $prefix == '{"x":' ]; then
OUTPUT=$OUTPUT$prefix$i$suffix
prefix='"y":'
suffix='},'
else
OUTPUT=$OUTPUT$prefix$i$suffix
prefix='{"x":'
suffix=','
fi
done
echo $OUTPUT']},'
OUTPUT=""
done`
END=`awk 'END {print (NR)*500+4000}' tmp.csv`
echo '[{"width":960,"height":720,"data":[]},{"width":540,"height":720,"data":[{"slide":{"h":6,"v":0,"f":0},"events":[{"type":"open","begin":4000},'$JSON'], "duration":'$END'}]}]' | sed 's/,]/]/g'
The script is just a rough hack and it is likely that you have to adapt it significantly to work for other SVG images.
All drawings on the chalkboard are included in the PDF-export.
The chalk effect is based on Chalkboard by Mohamed Moustafa.
Check out other plugins by clicking on and then on "Plugins ".
Have a look at the source code & documentation on Github.
Download Star