小辣椒 发表于 2026-2-27 20:47

【花潮贺岁】殇雪 歌手 云菲菲

<style>
#papa {margin: 150px 0 20px calc(50% - 721px);width: 1280px;height: 650px;background: tan url('https://wj.zp68.com/lxx/yunhua/2026/02/27/xh2.jpg');box-shadow: 0 0 8px #29a9f0;display: grid;place-items: center;position: relative;--state: paused;}
css-doodle{position: absolute;}
</style>

<div id="papa">
        <css-doodle id="mplayer">
                :doodle {
                        @grid: 2 / 800px 100px;
                        color: var(--color);
                        bottom: 20px;
                        z-index: 100;
                        --prog: 0%; --size: 40px; --ttmsg1: '00:00'; --ttmsg2: '00:00'; --color: RoyalBlue;
                }
                /* 时间信息 : 左 */
                @nth(1) {
                        @place: 5% 140%;
                                          
                        :after { content: var(--ttmsg1); }
                }
                /* 控制器 */
                @nth(2) {
                        @size: 60px;
                        @shape: windmill;
                        @place: 50% 35%;                        
                        background: var(--color);
                        animation: rot 6s infinite linear var(--state);
                }
                /* 时间信息 : 右 */
                @nth(3) {
                        @place: 95% 140%;
                        :after { content: var(--ttmsg2); }
                }
                /* 进度条 */
                @nth(4) {
                        @place: 50% 80%;
                        @size: 100% 2px;
                        background: Silver;
                        display: grid;
                        place-items: center start;
                        :before {
                                content: '';
                                width: var(--prog);
                                height: 100%;
                                background: var(--color);
                        }
                }
                @keyframes rot { to { transform: rotate(1turn); } }
        </css-doodle>
        <css-doodle id="lrc">
                :doodle {
                        @size: auto 4em;
                        top: 80px;
                        --geci: "云菲菲 - 殇雪"; --motion: cover2; --tt: 1s;
                }
                /* 单元格两个伪元素显示lrc歌词 */
                display: grid;
                place-items: center start;
                :before, :after {
                        content: var(--geci);
                        color: snow; /* 歌词底色 */
                        font: bold 2.4em sans-serif;
                        text-shadow: 1px 1px 1px #000;
                        white-space: pre;
               }
                :after {
                        position: absolute;
                        width: 0;
                        color: RoyalBlue; /* 同步歌词颜色 */
                        overflow: hidden;
                        animation: var(--motion) var(--tt) linear forwards var(--state);
                }
                @keyframes cover1 { from { width: 0; } to { width: 100%; } }
                @keyframes cover2 { from { width: 0; } to { width: 100%; } }
        </css-doodle>
<css-doodle grid="16" id="fFloat">
        :doodle {
                @size: 1278px 644px;
                --state:paused;
        }
        position: absolute;
        left: @r(-105)%;
        top: 10%;
        :after {
                position: absolute;
                content: '@p(❄,❄,❄,❄,❄,❄,❄,❄,❄,❄,❄,❄,❄,❄,❄,❄)';
                color:AliceBlue;
                font-size: @r(8, 30)px;
        }
        animation: fall 40s @r(-6, 36)s infinite var(--state);
        @keyframes fall {
                from { transform: rotate(0deg) translate(0px); }
                to { transform: rotate(@r(-60,60)deg) translate(1500px); }
        }
</css-doodle>

<img src="https://wj.zp68.com/lxx/yunhua/2022/12/06/84.gif" style="z-index:88;position:absolute; top: 480px;right:90%;">

        <audio id="aud" src="https://wj1.zp68.com:812/lxx/yunhua/2022/12/06/001.mp3" autoplay loop></audio>
</div>

<script>
(function() {
        let script = document.createElement('script');
        script.src = 'https://wj.zp68.com/lxx/yunhua/2022/12/06/css-doodle.min.js';
        document.head.appendChild(script);
        let slip = 0.5, mFlag = true, mKey = 0, clickIdx = 0, progChg = 0, cursors = ['default','pointer','pointer'];
        let lrcAr = [
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
       
];
        let toMin = (val) => {if (!val) return '00:00';val = Math.floor(val);let min = parseInt(val / 60), sec = parseFloat(val % 60);if (min < 10) min = '0' + min;if (sec < 10) sec = '0' + sec;return min + ':' + sec;};
        let calcKey = () => {for (j = 0;j < lrcAr.length;j++) {if (aud.currentTime <= lrcAr) {mKey = j - 1;break;}}if (mKey < 0) mKey = 0;if (mKey > lrcAr.length - 1) mKey = lrcAr.length - 1;let time = lrcAr - (aud.currentTime - lrcAr);showLrc(time);};
        let mState = () => aud.paused ? (papa.style.setProperty('--state', 'paused'),fFloat.style.setProperty('--state', 'paused') ) : (papa.style.setProperty('--state','running'),fFloat.style.setProperty('--state', 'running'));
        let showLrc = (time) => {lrc.style.setProperty('--motion', mFlag ? 'cover1' : 'cover2');lrc.style.setProperty('--geci', '"' + lrcAr + '"');lrc.style.setProperty('--tt', time + 's');mKey += 1;mFlag = !mFlag;};
        aud.addEventListener('play', mState, false);
        aud.addEventListener('pause', mState, false);
        aud.addEventListener('seeked', () => calcKey());
        aud.addEventListener('timeupdate', () => {for (j = 0; j < lrcAr.length; j++) {if (aud.currentTime - slip >= lrcAr) {cKey = j;if (mKey === j) showLrc(lrcAr);else continue;}}mplayer.style.setProperty('--ttmsg1', `'${toMin(aud.currentTime)}'`);mplayer.style.setProperty('--ttmsg2', `'${toMin(aud.duration)}'`);mplayer.style.setProperty('--prog',`${100 * aud.currentTime / aud.duration}%`);});
        mplayer.onclick = () => {if(clickIdx === 1) aud.paused ? aud.play() : aud.pause();if(clickIdx === 2) aud.currentTime = progChg;};
        mplayer.onmousemove = (e) => {let size = parseInt(window.getComputedStyle(mplayer).getPropertyValue('--size')), ww = mplayer.offsetWidth, hh = mplayer.offsetHeight;clickIdx = e.offsetY > hh/1.5 ? 2 : (e.offsetX > (ww - size)/2 && e.offsetX < (ww + size)/2 && e.offsetY < hh/1.5 ? 1 : 0);mplayer.style.cursor = cursors;if(clickIdx > 1) progChg = aud.duration * e.offsetX / ww;};
})();
</script>

小辣椒 发表于 2026-2-27 20:48

活动帖,继续玩以前的播放器,大家一起欣赏云菲菲 演唱的一首殇雪

樵歌 发表于 2026-2-27 21:33

就这样挺好的,又简单双好看好听。{:4_205:}

樵歌 发表于 2026-2-27 21:34

你还没教会我音画上歌词同步呢{:4_170:}{:4_179:}

偶然~ 发表于 2026-2-27 21:58

小辣椒制作的这个马年音画大作《殇雪》,令人惊艳!{:4_199:}

小辣椒 发表于 2026-2-27 21:59

樵歌 发表于 2026-2-27 21:34
你还没教会我音画上歌词同步呢

好的,星期天下午我教你

偶然~ 发表于 2026-2-27 22:00

云菲菲那凄美悠扬的歌声,本就动人心弦,再配上小辣椒精心挑选的雪景画面——那银装素裹的世界,每一片雪花飘落都似在诉说着无尽的思念,与歌曲的意境完美融合,仿佛将我们带入了一个纯净的冰雪梦境。

小辣椒 发表于 2026-2-27 22:00

樵歌 发表于 2026-2-27 21:33
就这样挺好的,又简单双好看好听。

都是以前玩过的,今天就做了个图

偶然~ 发表于 2026-2-27 22:01

从画面的构图到色调的把握,从音乐的选取到节奏的契合,无一不展现出小辣椒高超的艺术品味与创作才华。

小辣椒 发表于 2026-2-27 22:03

偶然~ 发表于 2026-2-27 21:58
小辣椒制作的这个马年音画大作《殇雪》,令人惊艳!

问好偶然,谢谢欣赏~~~{:4_187:}

偶然~ 发表于 2026-2-27 22:03

这不仅仅是一份简单的音画作品,更是小辣椒用心去感受、去诠释音乐的成果,为花潮论坛举办的马年【花潮贺岁】活动增添了一抹别样浪漫的艺术色彩!

小辣椒 发表于 2026-2-27 22:04

偶然~ 发表于 2026-2-27 22:00
云菲菲那凄美悠扬的歌声,本就动人心弦,再配上小辣椒精心挑选的雪景画面——那银装素裹的世界,每一片雪花 ...

偶然回复是一套一套的,厉害{:4_189:}

偶然~ 发表于 2026-2-27 22:04

真心为小辣椒点赞!祝你在马年里,生活如这雪景般纯净美好,健康快乐常伴!

小辣椒 发表于 2026-2-27 22:04

偶然~ 发表于 2026-2-27 22:01
从画面的构图到色调的把握,从音乐的选取到节奏的契合,无一不展现出小辣椒高超的艺术品味与创作才华。

谢谢偶然,我得下了,晚安{:4_187:}

偶然~ 发表于 2026-2-27 22:04

正月初十,
送你十足的关心,
祝你十分的温馨;
送你十足的牵挂,
祝你十分的潇洒;
送你十足的温暖,
祝你十分的爽朗;
送你十足的浪漫,
祝你十分的灿烂;
送你十足的爱意,
祝你十分的惬意。

偶然~ 发表于 2026-2-27 22:32

小辣椒 发表于 2026-2-27 22:04
谢谢偶然,我得下了,晚安

开心幸福

偶然~ 发表于 2026-2-27 22:32

小辣椒 发表于 2026-2-27 22:04
偶然回复是一套一套的,厉害

健康快乐

偶然~ 发表于 2026-2-27 22:33

小辣椒 发表于 2026-2-27 22:03
问好偶然,谢谢欣赏~~~

马踏祥云福星照,花潮涌动春意闹!祝你马年健康平安似磐石,幸福美满乐陶陶!

小九 发表于 2026-2-27 23:04

伤感的情歌,柔情回荡。很清晰的制作,简单大气! 欣赏辣椒的作品!{:4_199:}{:4_199:}{:4_199:}

梦油 发表于 2026-2-28 09:44

冰天雪地上飘落的雪花更有魅力。
页: [1] 2
查看完整版本: 【花潮贺岁】殇雪 歌手 云菲菲