I am very impressed and interested in the SVG graphs that I see produced with the ascii-SVG filter. Unfortunately the absence of SVG support in IE is a deal breaker for me. Is there a way to do something similar generating PNG or GIF's?
A second possible solution for me would be to produce the graphics beforehand, rather than at run time, and load them into a course. That might mean generating the SVG files and converting them to PNG's or GIF's, and then uploading them.
To give you and idea of my current work flow:
I generate questions sets using a spreadsheet (for example, I might produce 10-20 versions of the same question, each with different parameters). I have added several functions to the sheets to translate and produce the TeX.
If I want to include graphics, I generate them first using screen captures, encode the appropriate parameters in the file names, then have a filter generate the appropriate question. It is an arcane process. Being able to generate the questions and the graphics from the appropriate parameters would really streamline things.
The same goes for sound and other media files.
Yes, webworks has extensive perl. In fact the moodle algebra filter was adapted from the webworks syntax parser.
Did you check out the moz based svg plugin I posted the link for (sevarese)?
My problem is my courses are delivered to a variety of locations in the district and the only requirement specified to take the course is IE. Unfortunately the students can't install their own plug ins.
there are of course several such tools that can output different image formats and graph types...or you can create svg images online or offline and save them as png images...
Check for example http://moodle.org/mod/forum/discuss.php?d=128880
What kind of graphs do you need? Can you give an example?
The context might be: Identify the appropriate equation (multiple choice or fill in the blank)
The current work flow would involve:
- use Geogebra or Geometer' Sketchpad to generate graphs
- use Snagit to capture them, saving them with a file name that would encode the parameters
- putting the graphic file names onto a spreadsheet.
- writing a formula to extract the parameters from the file names.
- create the question template to use the parameters
- generate the questions in GIFT format
- upload the questions.
- upload the graphics.
- Generate the template and parameters
- Generate the questions
- Upload the questions.
- Generate the question template and parameters
- generate the questions
- Capture the graphics generated by the questions (a possibility with ascii SVG) using snagit, or perhaps generating the SVG files and converting them to PNGs.
- upload the questions and graphics.
I have contemplated trying to integrate with some of the CAS systems (maxima with GNU plot, but I'm not sure I can satisfy my needs without some significant development.
a) you could put asciimath asciisvg etc at any web accessible location and the reference it in a hotpot and then load your hotpot into your moodle if you can't install on your moodle site.
b) you can look at Descartes and invoke it as part of quiz or even java sketch pad- eg http://pedagogy.wik.is/Mathematics_Instruction/Using_Java_in_the_Wiki
c) once SEE us available you can look at students submitting their own graphs; this could be done with asciisvg but students would have to learn primitives
You guys seem to be doing some amazing things with plug ins, I was curious if there was an obvious solution.
I admit a PNG or GIF solution is extremely inelegant but the stack is almost always in place for the end user.