Sinus

import mcpi.minecraft as minecraft import mcpi.minecraftstuff as minecraftstuff import mcpi.block as block import math as math mc = minecraft.Minecraft.create() mcdrawing = minecraftstuff.MinecraftDrawing(mc) precy=4 for z in range(1000,1100): y=int(math.sin(z/4)*10)+14 mcdrawing.drawLine(1000,precy,z-1,1000, y,z,1) precy=y print y import mcpi.minecraft as minecraft import mcpi.minecraftstuff as minecraftstuff import mcpi.block as block import math as math mc = minecraft.Minecraft.create() mcdrawing = minecraftstuff.MinecraftDrawing(mc) […]