p5实现正方形透视艺术效果
代码语言:html
所属分类:视觉差异
代码描述:p5实现正方形透视艺术效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } body { background-color: #7c4de1; margin: 0; padding: 0; overflow: hidden; } </style> </head> <body translate="no"> <script type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/p5.js"></script> <script > /* * TAPESTRY ART * Made with p5 - Enjoy! * * #048 - #100DaysOfCode * By ilithya | 2020 * https://www.ilithya.rocks/ * https://twitter.com/ilithya_net */ const colorBg = '#7c4de1'; const colorFibers = [ 'hotpink', '#fffffd', // white '#4DD0E1', // blue.........完整代码请登录后点击上方下载按钮下载查看
网友评论0