Sakura autocue

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Sakura autocue

#1 Post by Lobster »

I created this simple hacked Script and called it Script, with thanks to Jemimah :)

I needed some code to output a stream of text
without me typing . . .
In Sakura (a terminal that allows you to change font sizes)
I used the code in the following infomercial for slaxer_pup which includes Sakura
http://www.youtube.com/watch?v=E4BqXF_ZXiY

Code: Select all

#!/bin/bash 
# Lobster June 2010 Sakura autocue
# run from command line with ./Script 
# will read the text file "slack" 
# and display one character after another in Sakura 
# or any bash prompt
# data file

INPUT=slack
 
# while loop
clear
while IFS= read -r -n1 char
do
        # display one character at a time
        sleep 0.05
	echo -n "$char"
done < "$INPUT"
The infomercial was created in Fatdog64
using Openshot video editor
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
GustavoYz
Posts: 883
Joined: Wed 07 Jul 2010, 05:11
Location: .ar

#2 Post by GustavoYz »

:) Nice...
By the way, do you know Processing (Open Source and GNU software)????
http://processing.org/
Just an option for do that (or maybe I'm so in love with it that recommend it to every body...).

stu90

#3 Post by stu90 »

I have been wondering about a way to add some kind of text description to videos, this script will be very handy.

Here is a short video test running Lobsters script using Roxterm terminal with transparent background and using Pekwm windows manager with window decor turned off, so the text looks like it is outputted on desktop and not in a terminal window.

http://www.youtube.com/watch?v=TaBfn8Nf4GU

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post by Lobster »

http://processing.org/

It is rather interesting (after briefest look)
Install java with quickpet and then download the
program - click on file - choose neither Arch or Slackware install
and it will decompress
make the processing file executable (right click)
and then you can click to run
It is pawesome (Puppy awesome)
- I have a feeling it is making good use of my graphics card . . .
stu90 wrote:Here is a short video test running Lobsters script using Roxterm terminal with transparent background and using Pekwm windows manager with window decor turned off, so the text looks like it is outputted on desktop and not in a terminal window.

http://www.youtube.com/watch?v=TaBfn8Nf4GU
Good plan stu90 - will look out for transparent terminal :)
but try processing - the examples will get you going in no time
built into the sketch program

Thanks guys :)
Last edited by Lobster on Thu 22 Sep 2011, 00:04, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#5 Post by jpeps »

NICE!

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#6 Post by wow »

pawesome script. It's now my turn to play:
http://www.youtube.com/watch?v=ZbA6RrvPEUY
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#7 Post by Lobster »

wow wrote:pawesome script. It's now my turn to play:
pawesome video
My turn, my turn . . .

http://www.youtube.com/watch?v=vidFReU7NRc
Last edited by Lobster on Tue 05 Oct 2010, 05:03, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply