diff --git a/.gitignore b/.gitignore index 19e49bf..59c0ca4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,17 @@ *.code-workspace *.ist +# additional folders not required +BundleTrack-master/ +TEASER-plusplus-master/ +20objects/ +quellen/ + +# ffmpeg +frame*.png +palette.png +*.gif + ## Core latex/pdflatex auxiliary files: *.aux *.lof diff --git a/assets/5grad5cm.png b/assets/5grad5cm.png deleted file mode 100644 index 405b729..0000000 Binary files a/assets/5grad5cm.png and /dev/null differ diff --git a/assets/5grad5cm.scad b/assets/5grad5cm.scad deleted file mode 100644 index 5e4e9af..0000000 --- a/assets/5grad5cm.scad +++ /dev/null @@ -1,5 +0,0 @@ -color([1,0,0]) rotate([0,0,0]) translate([0,0,0]) cube(10,true); -color([0,0,1,0.5]) rotate([5,5,5]) translate([5,5,5]) cube(10,true); - -translate([20,-5,-8]) rotate([90,0,90]) text("<-------->", 2); -translate([20,-3.5,-10]) rotate([90,0,90]) text("10 cm", 2); \ No newline at end of file diff --git a/assets/5grad5cm/5grad5cm.png b/assets/5grad5cm/5grad5cm.png new file mode 100644 index 0000000..62f7ac0 Binary files /dev/null and b/assets/5grad5cm/5grad5cm.png differ diff --git a/assets/5grad5cm/5grad5cm.scad b/assets/5grad5cm/5grad5cm.scad new file mode 100644 index 0000000..c962402 --- /dev/null +++ b/assets/5grad5cm/5grad5cm.scad @@ -0,0 +1,25 @@ +// Set viewport +$vpt=[0,0,0]; +$vpr = [58, 0, 138]; +$vpd = 70; + +// working with 25 FPS and 100 steps +move = $t*5; +echo(move); + +// side-length of cube +length = 10; + +// move to origin +translate([length/2, length/2, length/2]){ + // blue origin position + color([0,0,1]) rotate([0,0,0]) translate([0,0,0]) cube(length,true); + // red translated and rotated position + color([1,0,0,0.9]) rotate([move,move,move]) translate([-move,move,move]) cube(length,true); + // arrow + translate([5,-5,-8]) rotate([90,0,90]) text("<-------->", 2); + // text annotation + translate([5,-3.5,-10]) rotate([90,0,90]) text("10 cm", 2); +} + +// to export check "Dump Images" on the animation view \ No newline at end of file diff --git a/assets/5grad5cm/creategif.sh b/assets/5grad5cm/creategif.sh new file mode 100755 index 0000000..2c2548c --- /dev/null +++ b/assets/5grad5cm/creategif.sh @@ -0,0 +1,2 @@ +ffmpeg -i frame%5d.png -vf palettegen palette.png +ffmpeg -v warning -framerate 25 -i frame000%2d.png -i palette.png -lavfi "paletteuse,setpts=6*PTS" -y sample.gif