Alice Community How to draw mathematical functions?

 How to draw mathematical functions?
 alicecub Guest   Status: Posts: n/a How to draw mathematical functions? - 10-21-2013, 12:33 PM Hi, since I am an Alice newbie, this may be a dumb question, but how can I draw mathematical fuctions, such as a sine curve, with Alice 2.3? I see "sine"-blocs etc. in the mathematics sections, but I am unable to use them. How does this work? How do I get a pen to to draw the function? Any help would be gratefully appreciated! Thanks, alicecub
 Good example of the Sine animation Here
 MrMoke Senior Member     Status: Offline Posts: 501 Join Date: Sep 2007 Location: Austin, Texas Good example of the Sine animation Here - 10-21-2013, 03:19 PM http://en.wikipedia.org/wiki/Sine Check out the description of "Unit Circle". Should give some good ideas to try.
 alicecub Guest   Status: Posts: n/a 10-22-2013, 11:16 AM Thanks, but we have a misunderstanding here: I know what a sine is, had this in highschool, I can plot this curve (and other mathematical functions) using Python/Pygame or Scratch, but with Alice, I am unable to pull over the mathematical functions bloc, let alone do I know what else is needed. I would die for an Alice example, some mathematical function would do! Can anybody help please? Thanks, alicecub
 Ya can't get there from here.
chickentree
Super Moderator

Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Ya can't get there from here. - 10-23-2013, 03:09 PM

Quote:
 Originally Posted by alicecub Thanks, but we have a misunderstanding here: I know what a sine is, had this in highschool, I can plot this curve (and other mathematical functions) using Python/Pygame or Scratch, but with Alice, I am unable to pull over the mathematical functions bloc, let alone do I know what else is needed. I would die for an Alice example, some mathematical function would do! Can anybody help please? Thanks, alicecub
Hi, Alice does not have anything like a pen so drawing actually becomes a real challenge which usually involves sticking different objects using the vehicle method if it can be done at all. The examples in the book show how to get an object to move as a sine wave but not draw one on the stage.

What do you want to do?

mark

Mark Henwood
mhenwood@ieee.org

 alicecub Guest   Status: Posts: n/a 10-24-2013, 10:23 AM Thanks! I think I will stick to Scratch. alicecub
 Drawing in Alice
 djslater107 Administrator   Status: Offline Posts: 175 Join Date: Jan 2007 Drawing in Alice - 10-25-2013, 06:32 AM This is a much more difficult problem in a 3D environment, such as Alice. One possible solution would be to add a large number of objects, such as circles, and drop them along the path of the sin wave. Don Slater Alice Team Carnegie Mellon University
 alicecub Guest   Status: Posts: n/a 10-26-2013, 02:09 PM Thanks for this information! I was looking for an "all purpose" programming language, easy to understand for kids. But since I have even trouble in installing Alice on Ubuntu http://www.alice.org/community/showt...3578#post53578 I think I will quit Alice. Thanks, alicecub

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge