GIFs not looping
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- cli, data-visualization
Research direction
Run the provided clingo and clingraph command using examples/elevator/encoding.lp, examples/elevator/viz.lp, and examples/elevator/instance.lp, then inspect the generated GIF in out/elevator. Trace the --out=animate path and compare the result with the looping GIF shown in the issue; done means the generated animation loops.
Written by the indexing model from the issue text.
Description
Running the elevator example (with slightly changed encoding for reasons explained in #114) that is:
instance:
#const floors=5.
floor(1..floors).
at((floors+1)/2,10).
called(floors,10).
called(1,10).
encoding:
#const horizon=25.
time(10..horizon).
...
with the provided command:
clingo examples/elevator/encoding.lp examples/elevator/viz.lp examples/elevator/instance.lp --outf=2 | clingraph --out=animate --select-model=0 --dir='out/elevator' --fps=1 --sort=asc-int
produces a non-looping GIF, unlike the one shown in the example:
- Dominant language
- Python
- Stars
- 38
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from potassco/clingraph
All issues in potassco/clingraph
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day