Comments (11)
https://github.com/ylmrx/termtosvg/blob/ylmrx-patch-1/playpause.svg
What do you think ?
(right-click > display image). (see the red/green button upper right)
I need to implement the option to enable / disable it from CLI.
I don't want to embed some image, or have an ugly text, the color code seems the best and most straightforward to me. If you or @nbedos has a better idea, advise.
from termtosvg.
I agree, not being able to pause the animation is annoying. I'll look into it.
from termtosvg.
@nbedos i'm interest to this too, this maybe help: http://edutechwiki.unige.ch/en/Interactive_SVG-SMIL_animation_tutorial#Stopping_.2F_pausing_animation
from termtosvg.
currently working on this.
from termtosvg.
Nice! It works for me in Chrome and Firefox. But perhaps you can use Unicode ⏸ and ▶ for displaying the buttons? Or does that qualify as "ugly text"?
from termtosvg.
ugly text meant "[PAUSE]" :)
I guess all browsers which can SVG shouldn't fail to hard with these (basic) unicodes. It display like this now : https://github.com/ylmrx/termtosvg/blob/ylmrx-patch-1/termtosvg_k65gm89m.svg
I have to clean the code, and make a PR later this week ! Stay tuned :D
from termtosvg.
I wasn't able to make it before end of week, but here it is :
<3
from termtosvg.
Here's the slider I'd like to add too.
You have to click on the red square to catch it and then you can slide it left or right to explore the whole timeline.
I know nothing about JS though so this part of the code will need some serious review.
from termtosvg.
@nbedos I can review JS. I already took a look at #45 and left some comments.
from termtosvg.
The slider needs quite some work (I don't know much about JS in such context). And will probably need deep modifications within render_anim()
function.
I feel it should be adressed in another issue ( #24 ). Still I love where this is going !
from termtosvg.
This use case will be covered by SVG templates. See #53 for further discussion.
from termtosvg.
Related Issues (20)
- With CSS animation one frame can bleed into the previous frame HOT 3
- Generate ligature glyphs. HOT 1
- Optimize SVG output HOT 2
- Suggestion: Width 100% HOT 2
- Color issues and configuration HOT 12
- Remove "exit" from svg animation HOT 8
- Color issues in bold text in version 1.0.0
- Add support for ttyrec recording format
- jerky frames when viewing with Safari HOT 4
- Allow invocation through runpy HOT 1
- homepage svg doesn't play on safari HOT 6
- Firefox: slider in window_frame_js template misplaced and moving to the wrong direction, when SVG is in an HTML file HOT 1
- JavaScript themes without JavaScript enabled
- Cutting frames from resulting SVG
- Template window_frame_js does not work in GitHub HOT 1
- Can I install TermToSVG on Windows?
- Blink does not blink
- Idle timeout expected as int, but is float HOT 3
- Capture and preserve xterm title sequences. HOT 1
- build standalone binary HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from termtosvg.