Google ClassroomGoogle Classroom
GeoGebraGeoGebra Classroom

2. 通过叠加播放图层进行随机铺砌。(随机生产)

主要列表

m1=序列(序列(圆周((i+1,j+1),1),i,0,c-1,2),j,0,l-1,2) m2=序列(序列(圆周((i,j),1),i,0,c-1,2),j,0,l-1,2) l1=扁平列表(m1) l2=扁平列表(m2)

更新按钮脚本

设置活动视图(1) 执行(序列("S"+i+"=Element(l1,"+(i)+")", i, 1, c*l/4)) 执行(序列("SetDynamicColor(S"+i+",74/255,0,132/255,1)", i, 1, c*l/4)) 执行(序列("SetLayer( S"+i+",RandomBetween( 0, 2))", i, 1, c*l/4)) 执行(序列("SetLineThickness( S"+i+",0)", i, 1, c*l/4)) 执行(序列("C"+i+"=Element(l2,"+(i)+")", i, 1, c*l/4)) 执行(序列("SetDynamicColor(C"+i+",250/255,236/255,216/255,1)", i, 1, c*l/4)) 执行(序列("SetLayer( C"+i+",RandomBetween( 0, 1))", i, 1, c*l/4)) 执行(序列("SetLineThickness( C"+i+",0)", i, 1, c*l/4)) c为列:更新脚本: 设置活动视图(1) 中心定位(((c+1)/2,(l+1)/2)) l为行:更新脚本: 设置活动视图(1) 中心定位(((c+1)/2,(l+1)/2))
Image
Image