猫史档案馆


【Python作品分享】彩虹【作品秀】

用户:FSDVSVSFSDVSVS查看:1 回复:2 评论:1 创建时间:2020-05-02T09:50:46


【作品展示】

center_image

 

【作品介绍】

自己看

 

【作品源代码】

from arcade import *


open_window(600, 400, 'rainbow')
set_background_color(color.WHITE)

start_render()
# 修改圆的半径
draw_circle_filled(300, 0, 300, color.RED)
draw_circle_filled(300, 0, 290, color.YELLOW)
draw_circle_filled(300, 0, 280, color.GREEN)
draw_circle_filled(300, 0, 270, color.BLUE)
draw_circle_filled(300, 0, 260, color.PURPLE)
draw_circle_filled(300, 0, 250, color.WHITE)
draw_text("--by 训练师",300,350,color.BLUE,font_name=("simhei","PingFang"))

finish_render()
run()

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
FSDVSVSFSDVSVS

嘿嘿

点赞0


评论


穿风衣的猫穿风衣的猫

from arcade import *


open_window(600, 400, 'rainbow')
set_background_color(color.WHITE)

start_render()
# 修改圆的半径
draw_circle_filled(300, 0, 300, color.RED)
draw_circle_filled(300, 0, 290, color.YELLOW)
draw_circle_filled(300, 0, 280, color.GREEN)
draw_circle_filled(300, 0, 270, color.BLUE)
draw_circle_filled(300, 0, 260, color.PURPLE)
draw_circle_filled(300, 0, 250, color.WHITE)
draw_text("--by 训练师",300,350,color.BLUE,font_name=("simhei","PingFang"))

finish_render()
run()

点赞0


评论