当前位置:首页 > 短视频拍摄 > 正文

放烟花视频拍摄教程慢动作,oppor17放烟花教程?

2021-07-29 14:35:37 暂无评论 短视频拍摄

oppor17放烟花教程?

我觉得你想要看放烟花的教程,你可以上抖音上搜!

请教鼠标点击放烟花教程

其中的AS文件是与作者的版权信息有关,把第一行删掉即可。然后导出FLASH放到空间

求 放烟花的声音 文件 做视频用的 要那种嘭嘭嘭的

音效素材网 百度一下吧 很多

c语言放烟花代码

#include "stdlib.h"

#include "graphics.h"

#include "stdio.h"

#include "math.h"

#include "conio.h "

#define PI? 3.1425926

main()

{

int gdriver=DETECT,gmode,errorcode;

int a[10],b[10],x,y,c,r,i,j,t;

double rad = 0.0;

/* initialize graphics and local variables */

initgraph(&gdriver , &gmode ,"");

/* read result of initialization */

errorcode = graphresult();

if (errorcode != grOk)? /* an error occurred */

{

printf("Graphics error : %s/n",grapherrormsg(errorcode));

printf("Please any key to halt:");

getch();

exit(1);? /* terminate with an error code */

}

randomize();

for(;!kbhit();)

{

x=rand()%500+100; /*随机中心坐标*/

y=rand()%300+100;

for(r = 0 ;r <= 8 ; r++? )? ? /*烟花的大小设定*/

{

for(i = 0,rad = 0.0 ; rad < 2*PI; rad += 0.78 )? /*设定坐标*/

{

a[i++] = x + (int)r *10* cos(rad);

b[ i ] = y + (int)r *10* sin(rad);

}

t = i;

for(i=1;i<t;i++)

{

c=rand()%13+1; /*各点的颜色随机*/

setcolor(c);? ? ? ?/*功能:将当前图形屏幕的当前笔画颜色置为color.*/

circle(a[i],b[i],1);/* a[i],b[i] 为圆心 1 为半径 画圆 */

}

delay(10000);

delay(10000);

cleardevice();

函数名: cleardevice? ? ? ? ? ?

功? 能: 清除图形屏幕? ?

用? 法: void far cleardevice(void);?

}

}

getch();

closegraph();

函数名: closegraph

功? 能: 关闭图形系统

用? 法: void far closegraph(void);

}

扩展资料

C语言:表白显示(多彩小心心)

#include <stdio.h>

#include <math.h>

#include <stdlib.h>

#define I 20

#define R 340

#include <string.h>

int main()

{

char answer[10];

printf("遇到你n我才发现n曾经所有的条件n似乎都成了我等你的借口nn");

printf("我对你的感情已经决堤n所以n请允许我,从今往后映入你n明媚的眼n");

printf("我n想和你n耳鬓厮磨,相濡以沫!");

printf("答应我吧!n输入yes,你可以看到我的真心n");

scanf("%s", answer);

float y, x, z, f;

for (y = 1.5f; y > -1.5f; y -= 0.1f)

{

for (x = -1.5f; x < 1.5f; x += 0.05f)

{

z = x * x + y * y - 1;

f = z * z*z - x * x*y*y*y;

putchar(f <= 0.0f ? "*********"[(int)(f*-8.0f)] : ' ');

}

putchar('n');

}

long time;

for (;;)

{

system("color a");

for (time = 0; time<99999999; time++);

system("color b");

for (time = 0; time<99999999; time++);

system("color c");

for (time = 0; time<99999999; time++);

system("color d");

for (time = 0; time<99999999; time++);

system("color e");

for (time = 0; time<99999999; time++);

system("color f");

for (time = 0; time<99999999; time++);

system("color 0");

for (time = 0; time<99999999; time++);

system("color 1");

for (time = 0; time<99999999; time++);

system("color 2");

for (time = 0; time<99999999; time++);

system("color 3");

for (time = 0; time<99999999; time++);

system("color 4");

for (time = 0; time<99999999; time++);

system("color 5");

for (time = 0; time<99999999; time++);

system("color 6");

for (time = 0; time<99999999; time++);

system("color 7");

for (time = 0; time<99999999; time++);

system("color 8");

for (time = 0; time<99999999; time++);

system("color 9");

}

getchar();

return 0;

}

博客主人破茧短视频培训
破茧短视频为你分享抖音、快手等短视频平台的视频拍摄、剪辑和运营技巧,另有短视频培训学习教程,海量干货助你玩转短视频运营!。
  • 72834 文章总数
  • 5044811访问次数
  • 2218建站天数