【影.印记】意境人像摄影《你的冬,蓄满光晕》
本帖最后由 傲雷影儿 于 2026-1-8 15:19 编辑 <br /><br />你的冬,蓄满光晕<br>摄影素材/网络 动图/LRC制作/傲雷影儿
<TABLE style="POSITION: relative; WIDTH: 1000px; TOP: 50px; LEFT: -250px" cellSpacing=0 cellPadding=10 width="100%">
<TBODY>
<TR>
<TD width="100%">
<DIV align=center><style type="text/css">.pcb{margin-right:0}</style><div class="pcb">
<div class="t_fsz">
<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_1226571">
<meta charset="UTF-8">
<style>
#papa {
margin: 0px 0 0 calc(px);
width: 1200px;
height: 900px;
background: lightgreen url('1') no-repeat center/cover;
box-shadow: 3px 3px 5px #333;
position: relative;
}
.inmg { position:absolute; width:100%; height: 900px;TOP:0%;LEFT: 0%;}
#mplayer {
position: absolute;
width: 80px;
height: 80px;
right: 1040px;
top: 85%;
border-radius: 50%;
cursor: pointer;
animation: rot 8s linear infinite;
}
#lrc {position: absolute;top: 780px;left: 50%;
--state: paused;
--motion: cover2;
--tt: 2s;
--bg: linear-gradient(180deg, hsla(120, 96%, 60%, .85), hsla(120, 95%, 95%, .85));
transform: translate(-50%);
font: bold 2.6em sans-serif;
color: snow;
white-space: pre;
-webkit-background-clip: text;
filter: drop-shadow(1px 1px 2px hsla(0, 0%, 0%, .95));
}
#lrc::before {
position: absolute;
content: attr(data-lrc);
width: 20%;
height: 100%;
color: transparent;
overflow: hidden;
white-space: pre;
background: var(--bg);
filter: inherit;
-webkit-background-clip: text;
animation: var(--motion) var(--tt) linear forwards;
animation-play-state: var(--state);
}
@keyframes cover1 { from { width: 0; } to { width: 100%; } }
@keyframes cover2 { from { width: 0; } to { width: 100%; } }
@keyframes rot { to { transform: rotate(1turn); } }
</style>
<div id="papa">
<marqueeid="m" behavior="alternate"scrollamount="5"height=900>
<img alt="" src="https://www.junzhuan.com/data/attachment/album/202601/08/135219p0k3cgb0gk3wwigq.jpg" title="" style="width: 600px;height: 900px;" /><img alt="" src="https://www.junzhuan.com/data/attachment/album/202601/08/135219mcfiudfr6hn7hcld.jpg" title="" style="width: 600px;height: 900px;;"/><img alt=""src="https://www.junzhuan.com/data/attachment/album/202601/08/135221o9t6exl9n5llg9ql.jpg" title="" style="width: 600px;height: 900px;" /><img alt="" src="https://www.junzhuan.com/data/attachment/album/202601/08/135221verwekpuulrld509.jpg" title=""style=" width: 600px;height: 900px;" /><img alt=""src="https://www.junzhuan.com/data/attachment/album/202601/08/135220svwtzp51nn7h0bmb.jpg" title="" style="width: 600px;height: 900px;"/><img alt=""src="https://www.junzhuan.com/data/attachment/album/202601/08/135220pvhm3w2m29wmh42v.jpg" title=""style=" width: 600px;height: 900px;"/><img alt="" src="https://www.junzhuan.com/data/attachment/album/202601/08/135220z2m42x2l7yp7qt2g.jpg" title="" style="width: 600px;height: 900px;" /><img alt="" src="https://www.junzhuan.com/data/attachment/album/202601/08/135221ysf0czbwbmw0ynw0.jpg" title=""style=" width: 600px;height: 900px;" />
</marquee>
<marqueeclass="inmg" direction="down" height="550" behavior="alternate" id="m4" style="transform: rotateY(180deg);"><marqueeid="m1" scrollamount="15"><imgsrc="https://www.junzhuan.com/data/attachment/album/202406/14/171846m5g889s0ww66xhom.gif"height="20" /></marquee></marquee>
<marqueeclass="inmg" direction="down"
height="550"
behavior="alternate"
id="m3"><marquee id="m2" scrollamount="23" ><imgsrc="https://www.junzhuan.com/data/attachment/album/202406/14/171846m5g889s0ww66xhom.gif"height="20" /></marquee></marquee>
<div id="lrc" data-lrc="HCPlayer">HCPlayer</div>
<img id="mplayer" src="https://www.junzhuan.com/data/attachment/album/202601/08/135201wsrp8jehe2jkjeap.png" alt="" />
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=473323873.mp3" loop autoplay></audio>
</div>
<script>
(function() {
/*原始lrc歌词*/
let lrcStr = `一代佳人-汤兰花
词:林煌坤
曲:鲍比达
LRC制作:傲雷影儿
胭脂红粉只能点缀青春
却不能掩饰岁月留下的伤痕
有什么可让我刻骨铭心
唯有你唯有你爱人
海誓山盟说是情深意浓
问谁真心为爱厮守一生
你有血你有泪淋漓尽致
那热情熨烫着我的一颗心
悲欢岁月浮华人生
难得有这一份情
让我在今生今世记忆深深
你是我最心爱的人
……
胭脂红粉只能点缀青春
却不能掩饰岁月留下的伤痕
有什么可让我刻骨铭心
唯有你唯有你爱人
海誓山盟说是情深意浓
问谁真心为爱厮守一生
你有血你有泪淋漓尽致
那热情熨烫着我的一颗心
悲欢岁月浮华人生
难得有这一份情
让我在今生今世记忆深深
你是我最心爱的人
让我在今生今世记忆深深
你是我最心爱的人
`;
/*变量 :mKey - 当前歌词索引;mFlag :调用关键帧动画索引;averAdd :平均值补偿*/
let mKey = 0, mFlag = true, averAdd = 0.3;
/*函数 :获取每句歌词用时,歌词用时若超过平均值则取平均值,最后一句歌词则取平均值*/
let lrcTime = (ar) => {
let tmpAr = [];
for(j = 0; j <ar.length - 1; j ++) {
if(j !== ar.length - 1) tmpAr = parseFloat((ar - ar).toFixed(1));
}
let aver = parseInt(tmpAr.reduce((a,b) => a + b) / (tmpAr.length - 1)) + averAdd;
tmpAr.push(aver);
tmpAr.forEach((item,key) => {
ar = item > aver ? aver : item;
});
return ar;
};
/*函数 :从原始lrc歌词获取信息并存入 n*3 数组*/
let getLrcAr = (text) => {
let lrcAr = [];
let calcRule = ;
for(x of text.split('\n')) {
let ar = [];
let re = /\d+[\.:]\d+([\.:]\d+)?/g;
let geci = x.replace(re,'');
if(geci) {
geci = geci.replace(/[\[\]\'\"\t,]s?/g,'');
let time = x.match(re);
if(time != null) {
for(y of time) {
let tmp = y.match(/\d+/g);
let sec = 0;
for(z in tmp) sec += tmp * calcRule;
ar = ;
lrcAr.push(ar);
}
}
}
}
lrcAr.sort((a,b)=> a - b);
return(lrcTime(lrcAr));
};
/*函数 :模拟显示同步歌词*/
let showLrc = (time) => {
let name = mFlag ? 'cover1' : 'cover2';
lrc.innerHTML = lrcAr;
lrc.dataset.lrc = lrcAr;
lrc.style.setProperty('--motion', name);
lrc.style.setProperty('--tt', time + 's');
lrc.style.setProperty('--state', 'running');
mKey += 1;
mFlag = !mFlag;
};
/*函数 :处理当前歌词索引 mKey*/
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 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 mState = () => aud.paused ? (lrc.style.setProperty('--state','paused'),mplayer.style.animationPlayState = 'paused') : (lrc.style.setProperty('--state','running'),mplayer.style.animationPlayState = 'running');
/*监听播放进度*/
aud.addEventListener('timeupdate', () => {
for (j = 0; j < lrcAr.length; j++) {
if (aud.currentTime >= lrcAr) {
cKey = j;
if (mKey === j) showLrc(lrcAr);
else continue;
}
}
});
aud.addEventListener('pause', () => mState());/*监听暂停事件*/
aud.addEventListener('play', () => mState());/*监听播放事件*/
aud.addEventListener('seeked', () => calcKey());/*监听查询事件*/
mplayer.addEventListener('click', () => { aud.paused ? aud.play() : aud.pause(); });
let lrcAr = getLrcAr(lrcStr); /*获得歌词数组*/
})();
</script></td></tr></table>
</DIV></TD></TR></TBODY></TABLE><BR><BR><BR><BR><BR><BR><BR><br><br>
https://www.junzhuan.com/data/attachment/album/202601/08/135219p0k3cgb0gk3wwigq.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135219mcfiudfr6hn7hcld.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135219zjio5o9tbbjbibqg.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135220i8km749aihgg47bi.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135220sibfgi8brspabpih.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135220x8e1acwkf1d81odo.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135220z2m42x2l7yp7qt2g.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135220pvhm3w2m29wmh42v.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135220svwtzp51nn7h0bmb.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135221cd1gjxlevm8821rq.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135221ysf0czbwbmw0ynw0.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135221verwekpuulrld509.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135221nbh27u8c92cxbhb8.jpg
https://www.junzhuan.com/data/attachment/album/202601/08/135221o9t6exl9n5llg9ql.jpg
很雅致的美人儿,这制作真好看。
欣赏影儿好帖{:4_199:}
页:
[1]