How did they make it??

5 replies [Last post]
affandy
Offline
White BeltYellow Belt
Joined: 2009-08-20
Posts:
Points: 8
Dear all, I’m a totally beginner in this field, I consider to build my own Program Visualization to improve programming skill among novices student. Is there any whether information or links or journals that discus about how in technical aspects they (The SV, AV, or PV experts) build their tools? Mr. Guido Roessling told me about “Dynamic Java” but unfortunately I still can’t find any guidance about developing PV using this feature. I will be glad, if there someone can help me solve this problems. thanks.
shaffer
shaffer's picture
Offline
White BeltYellow BeltGreen BeltRed BeltBlack Belt
Joined: 2009-05-28
Posts:
Points: 2019
Re: How did they make it??

That's quite a tall order!

  

I think the way to get started is to define, on paper or with drawings in a draw program, what you want. Work out the features of your algorithm visualization or tutorial. What are the user interactions? What can users do? If you work this out in a bit of detail, then you can think about what tools would support what you need to do. Of course, being aware of the tool's capabilities might affect how ambitious you want to be.

  

I would say there are basically two ways to go. If you are willing to restrict your visualization to presenting text and graphics without user interaction (other than pacing of the presentation), then there are a number of good "scripting" systems that you could use. Examples are Jhave and Animal. Essentially, you define the "script" and the system will build the AV. I am not familiar with how AVs are developed in ALVIE, but I think this would be similar.

  

If you want more flexible user interaction, such as users putting in their own data set, or "steering" the activity, or other actions by the user, then you will need something different. My own group usually writes directly in Java. You might look into the TRAKLA system. I don't know how easy that is for outsiders to use, but the AVs it produces appear to allow for a fair degree of user interaction.

  

Hopefully this will spur some of the developers here to "advertise" their development tools!

ajalon
ajalon's picture
Offline
White BeltYellow BeltGreen BeltRed Belt
Joined: 2009-05-26
Posts:
Points: 60
Re: How did they make it??

 affandy,

You say that you're looking to build a PV for helping students improve their programming skills. Does this you mean you would like software to help visualize programs that have been written? If so, do you want to visualize during runtime or during "edit"-time?

Cheers! -AJ

shaffer
shaffer's picture
Offline
White BeltYellow BeltGreen BeltRed BeltBlack Belt
Joined: 2009-05-28
Posts:
Points: 2019
Re: How did they make it??

Whatever you want to do, I recommend that you take a look at what currently exists on that or similar topics. You might find what you need already has been made. If not, then you will know *what* you don't like about the current efforts, and think about what you want done differently. Or maybe you will find good ideas to incorporate into your own project.

affandy
Offline
White BeltYellow Belt
Joined: 2009-08-20
Posts:
Points: 8
Re: How did they make it??

Dear all,

well actually I'm doing my project to find a way to integrate edit time and run time simultaneously , I mean when students write their code they also can see (not just imagine) the result of their code at the same time, I believe that it could improve their coding and debugging ability. This idea inspired by ViLLe and ALVIS Live. I try to sent an email to Dr. Hundhausen <hundhaus@wsu.edu>, as a creator of ALVIS, to discuss with him, but unfortunately I've got no reply.

I tried ALVIS but in limited features edition, and now I'm trying to develop my project with a little bit improvement, but I can't figure out how to elaborate editor, compiler, and visualizer into one light system????

I really wish for a help… :D

  

 thanks..

shaffer
shaffer's picture
Offline
White BeltYellow BeltGreen BeltRed BeltBlack Belt
Joined: 2009-05-28
Posts:
Points: 2019
Re: How did they make it??

Ah, I was thinking algorithm visualization, not program visualization.

  

You might want to take a look at Jgrasp from Auburn University. (Search for "Cross" in the bibliography for some papers). They have a "visual debugger" to support viewing data structures to help debug Java code.

  

You might also try contacting Godmar Back in my department (gback at cs dot vt dot edu). He has worked on a similar system. His approach might well be "light weight" enough for you.