set [pi] to [3.14159]
Last edited by bobbybee (2012-02-13 18:19:09)
Offline
coolhogs wrote:
My Idea is to make a pi block. This block would be in Operators block pallete. It would be useful to find the circumference of a circle.
Didn't you say two ideas?
Offline
Greenatic wrote:
coolhogs wrote:
My Idea is to make a pi block. This block would be in Operators block pallete. It would be useful to find the circumference of a circle.
Didn't you say two ideas?
![]()
XD
Offline
I support. Even though I know 72 digits already [/showoff]
An e block would be nice too.
Offline
Greenatic wrote:
coolhogs wrote:
My Idea is to make a pi block. This block would be in Operators block pallete. It would be useful to find the circumference of a circle.
Didn't you say two ideas?
![]()
Yeah, I messed up. I reported it though!
Offline
set [e] to [2.71828]
Offline
How about a constants block that would combine both, like Panther's! And why don't we add phi as well?
Offline
yes, just use variables and set it to the irrational constants.
this is just scratch, you don't need the million digits of pi. 3.14 and 3.14159... wouldn't make a visible difference (unless you have something really big)
Offline
kayybee wrote:
yes, just use variables and set it to the irrational constants.
this is just scratch, you don't need the million digits of pi. 3.14 and 3.14159... wouldn't make a visible difference (unless you have something really big)
yeah, but if you wanted the sprite to be able to say the digits of pi...
Offline
RedRocker227 wrote:
I support. Even though I know 72 digits already
[/showoff]
Same here. Just copy and paste this(and no, I didn't get this from the internet): 3.14159265358979323846264338327950288419716939958209749445923078164. There. That should be accurate enough.
Offline
In Scratch 2.0, you could make your own block like that. It would be helpful if it was pre-installed though...
Offline
mitchboy wrote:
RedRocker227 wrote:
I support. Even though I know 72 digits already
[/showoff]
Same here. Just copy and paste this(and no, I didn't get this from the internet): 3.14159265358979323846264338327950288419716939958209749445923078164. There. That should be accurate enough.
![]()
Yes, I think that should be accurate enough to suffice. For now anyways, until Scratch get a block with 1,000,000,000,000 digits of pi.
Last edited by Mokat (2012-02-16 18:38:56)
Offline
Um is that even possible?
The ST can't program in an indefinite number can they? :p
Offline
Mokat wrote:
mitchboy wrote:
RedRocker227 wrote:
I support. Even though I know 72 digits already
[/showoff]
Same here. Just copy and paste this(and no, I didn't get this from the internet): 3.14159265358979323846264338327950288419716939958209749445923078164. There. That should be accurate enough.
![]()
Yes, I think that should be accurate enough to suffice. For now anyways, until Scratch get a block with 1,000,000,000,000 digits of pi.
lol!
Offline
kayybee wrote:
yes, just use variables and set it to the irrational constants.
this is just scratch, you don't need the million digits of pi. 3.14 and 3.14159... wouldn't make a visible difference (unless you have something really big)
just 3 is close enough for small circles
Offline