tanishq2520/Algo-Visualizer

ui: Replace 'Current frame' text with a visual progress bar

开放

#6 创建于 2025年10月12日

 (0 条评论) (0 个反应) (0 位负责人)Python (10 个派生)auto 404
good first issuehacktoberfestuiux

仓库指标

星标
 (0 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

The "Current frame: x / y" text at the bottom of the sidebar is functional, but a visual progress bar would be a much better way to show the animation's progress.

Task:

Remove the st.write() that displays the current frame text.

In its place, add an st.progress() bar.

The value of the progress bar should be calculated as (current_frame / total_frames).

Ensure the progress bar updates on every step of the animation, starting at 0% and finishing at 100%.

贡献者指南