@@ -48,38 +48,87 @@ pub fn get_popcorn_directives<P: AsRef<Path>>(filepath: P) -> Result<(PopcornDir
4848 ) )
4949}
5050
51- pub fn get_ascii_art ( ) -> String {
52- let art = r#"
53- _ __ _ ______ _
54- | | / / | | | ___ \ | |
55- | |/ / ___ _ __ _ __ ___ | | | |_/ / ___ _| |_
56- | \ / _ \ '__| '_ \ / _ \| | | ___ \ / _ \| | __|
57- | |\ \ __/ | | | | | __/| | | |_/ /| (_) | | |_
58- \_| \_/\___|_| |_| |_|\___|_/ \____/ \___/|_|\__|
59-
60- POPCORN CLI - GPU MODE
61-
62- ┌───────────────────────────────────────┐
63- │ ┌─────┐ ┌─────┐ ┌─────┐ │
64- │ │ooOoo│ │ooOoo│ │ooOoo│ │▒
65- │ │oOOOo│ │oOOOo│ │oOOOo│ │▒
66- │ │ooOoo│ │ooOoo│ │ooOoo│ ┌────────┐ │▒
67- │ └─────┘ └─────┘ └─────┘ │████████│ │▒
68- │ │████████│ │▒
69- │ ┌────────────────────────┐ │████████│ │▒
70- │ │ │ │████████│ │▒
71- │ │ POPCORN GPU COMPUTE │ └────────┘ │▒
72- │ │ │ │▒
73- │ └────────────────────────┘ │▒
74- │ │▒
75- └───────────────────────────────────────┘▒
76- ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
77- ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
78- "# ;
51+ pub fn get_ascii_art_frame ( frame : u16 ) -> String {
52+ let frame = frame % 3 ;
53+ match frame {
54+ 0 => r#"
55+ ▗▖ ▗▖▗▄▄▄▖▗▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▄▄▖ ▗▄▖ ▗▄▄▄▖
56+ ▐▌▗▞▘▐▌ ▐▌ ▐▌▐▛▚▖▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌ █
57+ ▐▛▚▖ ▐▛▀▀▘▐▛▀▚▖▐▌ ▝▜▌▐▛▀▀▘▐▌ ▐▛▀▚▖▐▌ ▐▌ █
58+ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▌ ▐▌▐▙▄▄▖▐▙▄▄▖▐▙▄▞▘▝▚▄▞▘ █
59+
60+ POPCORN CLI - GPU MODE
61+
62+ ┌────────────────────────────────────────────┐
63+ │ ╔══════════════════════════════════╗ ϟ │
64+ │ ║ ▄▄ Graphics Processing Unit ▄▄║ ║ │▒
65+ │ ║ ██████ 80GB HBM3 MEMORY █║ ║ │▒
66+ │ ║ ▀▀▀▀▀▀ 700W TDP █║ ║ │▒
67+ │ ╚══════════════════════════════════╝ │▒
68+ │ ┌─────┐┌─────┐┌─────┐┌─────┐┌─────┐ │▒
69+ │ │:::::││:::::││:::::││:::::││:::::│ │▒
70+ │ └─────┘└─────┘└─────┘└─────┘└─────┘ │▒
71+ │ ┌──────────────────────────────────┐ │▒
72+ │ │ discord.com/invite/gpumode │ │▒
73+ │ │ ═══╧═══╧═══╧═══╧═══╧═══╧═══ │ │▒
74+ │ └──────────────────────────────────┘ │▒
75+ └────────────────────────────────────────────┘▒
76+ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
77+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"# . to_string ( ) ,
78+ 1 => r#"
79+ ▗▖ ▗▖▗▄▄▄▖▗▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▄▄▖ ▗▄▖ ▗▄▄▄▖
80+ ▐▌▗▞▘▐▌ ▐▌ ▐▌▐▛▚▖▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌ █
81+ ▐▛▚▖ ▐▛▀▀▘▐▛▀▚▖▐▌ ▝▜▌▐▛▀▀▘▐▌ ▐▛▀▚▖▐▌ ▐▌ █
82+ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▌ ▐▌▐▙▄▄▖▐▙▄▄▖▐▙▄▞▘▝▚▄▞▘ █
83+
84+ POPCORN CLI - GPU MODE
85+
86+ ┌────────────────────────────────────────────┐
87+ │ ╔══════════════════════════════════╗ ϟϟ │
88+ │ ║ ▄▄ Graphics Processing Unit ▄▄║ ║ │▒
89+ │ ║ ██████ 80GB HBM3 MEMORY ███║ ║ │▒
90+ │ ║ ▀▀▀▀▀▀ 700W TDP ███║ ║ │▒
91+ │ ╚══════════════════════════════════╝ │▒
92+ │ ┌─────┐┌─────┐┌─────┐┌─────┐┌─────┐ │▒
93+ │ │:::::││:::::││:::::││:::::││:::::│ │▒
94+ │ └─────┘└─────┘└─────┘└─────┘└─────┘ │▒
95+ │ ┌──────────────────────────────────┐ │▒
96+ │ │ discord.com/invite/gpumode │ │▒
97+ │ │ ═══╧═══╧═══╧═══╧═══╧═══╧═══ │ │▒
98+ │ └──────────────────────────────────┘ │▒
99+ └────────────────────────────────────────────┘▒
100+ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
101+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"# . to_string ( ) ,
102+ _ => r#"
103+ ▗▖ ▗▖▗▄▄▄▖▗▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▄▄▖ ▗▄▖ ▗▄▄▄▖
104+ ▐▌▗▞▘▐▌ ▐▌ ▐▌▐▛▚▖▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌ █
105+ ▐▛▚▖ ▐▛▀▀▘▐▛▀▚▖▐▌ ▝▜▌▐▛▀▀▘▐▌ ▐▛▀▚▖▐▌ ▐▌ █
106+ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▌ ▐▌▐▙▄▄▖▐▙▄▄▖▐▙▄▞▘▝▚▄▞▘ █
79107
80- art. to_string ( )
108+ POPCORN CLI - GPU MODE
109+
110+ ┌────────────────────────────────────────────┐
111+ │ ╔══════════════════════════════════╗ ϟϟϟ │
112+ │ ║ ▄▄ Graphics Processing Unit ▄▄║ ║ │▒
113+ │ ║ ██████ 80GB HBM3 MEMORY █████║ ║ │▒
114+ │ ║ ▀▀▀▀▀▀ 700W TDP █████║ ║ │▒
115+ │ ╚══════════════════════════════════╝ │▒
116+ │ ┌─────┐┌─────┐┌─────┐┌─────┐┌─────┐ │▒
117+ │ │:::::││:::::││:::::││:::::││:::::│ │▒
118+ │ └─────┘└─────┘└─────┘└─────┘└─────┘ │▒
119+ │ ┌──────────────────────────────────┐ │▒
120+ │ │ discord.com/invite/gpumode │ │▒
121+ │ │ ═══╧═══╧═══╧═══╧═══╧═══╧═══ │ │▒
122+ │ └──────────────────────────────────┘ │▒
123+ └────────────────────────────────────────────┘▒
124+ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
125+ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"# . to_string ( )
126+ }
81127}
82128
129+ pub fn get_ascii_art ( ) -> String {
130+ get_ascii_art_frame ( 0 )
131+ }
83132
84133pub fn display_ascii_art ( ) {
85134 let art = get_ascii_art ( ) ;
0 commit comments