mirror of
https://github.com/sam-astro/Z-Sharp.git
synced 2025-12-13 09:02:10 +00:00
42 lines
396 B
Plaintext
42 lines
396 B
Plaintext
|
|
|
|
func Main(input, in)
|
|
{
|
|
|
|
print "PI is: " + PI
|
|
int x = 1
|
|
print x
|
|
float k = 0
|
|
print k
|
|
while x < 5
|
|
{
|
|
print x
|
|
float s = Sin(x)
|
|
print s
|
|
k = Sigmoid(s)
|
|
print k
|
|
|
|
x += 1
|
|
}
|
|
|
|
//CPP.Graphics.Init(64, 64, 4)
|
|
return 0
|
|
}
|
|
|
|
func Update(input)
|
|
{
|
|
int x = 0
|
|
int y = 0
|
|
while x < 64
|
|
{
|
|
while y < 64
|
|
{
|
|
SetPixel(x, y, 255, 0, 0)
|
|
y += 1
|
|
}
|
|
y = 0
|
|
x += 1
|
|
}
|
|
print "updating"
|
|
}
|