Build and Share Interactive Content - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 2023 : Build and Share Interactive Content

Build and Share Interactive Content 

Maple 2023 provides additional tools for creating documents and interactive applications programmatically. These tools can be used to develop Maple Learn content or to create applications to be used in Maple.  Maple Learn is an online environment designed specifically for teaching and learning mathematics. 

 

Canvas-based Quizzes 

Canvas Scripting 

Canvas-based Quizzes 

A new QuizBuilder command comes loaded with sample quizzes and makes it easy to create your own custom quiz questions 

Grading:-QuizBuilder(); 1 

Embedded component

Image
Embedded component
Question type: Embedded component
ImageImage Embedded component
Image Embedded component
Image Embedded component
Image Embedded component
Common Code Embedded component
Samples Choose Sample: Embedded component
Embedded component
Embedded component
Embedded component

Embedded component
Embedded component
Image Image Image
Embedded component
Image
Image Image
Image Image

 

 

Multiline Feedback for Free-Response Quiz Questions 

The Quiz command now supports multi-line free-response answers, with the style=multiline option, where students must fill in all of the steps required to get to the final answer.  Each step is assessed for correctness.    

Additionally, The Quiz command has options for hints and titles.

The following example can be found in the
QuizBuilder as one of the samples: 

 

Embedded component

Embedded component

Embedded component
Embedded componentEmbedded component
Image
Image
Embedded componentEmbedded component Image
Embedded componentEmbedded component
Embedded componentEmbedded component
Image

 

 

Canvas Scripting 

Maple 2023 greatly extends the tools for creating Canvas-based documents and interactive applications programmatically.  

The Canvas package provides a framework for Maple users to easily build applications that can be used both in Maple and also shared on the web through Maple Learn.  These applications can gather user input and compute using standard Maple commands in either environment.  

Canvas Package 

The DocumentTools:-Canvas package builds on DocumentTools component primitives to provide a simple way to generate a grid layout of text and math.  It provides an easy mechanism to programmatically generate a page of math text and other elements.  Maple 2023 includes more tools and customizations to help you create content using the Canvas package. 

Canvas Example Gallery 

A new gallery offers extensive examples that use Canvas Scripting to create different types of interactive content in Maple that can then be shared on the web via Maple Learn.
Interactive applications can be completely programmatically constructed as content; the Canvas example gallery compiles a list of templates to make it easier to create some of the more complex applications.
 


With over 44 templates and modifiable examples covering topics such as functions, geometry, calculus and more, applications can be developed and tested in Maple and deployed online via Maple Learn.  
 


The gallery includes application containing a wide variety of features such as clickable plots, interactive visualizations, quizzes that offer students unlimited practice and provide feedback, examples that provide solution steps, and more. The Maple code used for those applications can be easily viewed, modified, and copied, so users can customize specific applications or use the code as a starting point for their own work.
 


Those applications can be incorporated into any learning environment, such as classroom demonstrations with interactive plotting or independent studying with quizzing allowing students to practice a specific topic at home.
 

 

Visit the gallery: Maple Learn Scripting Templates 

Image 

Image 

More Options 

Canvas elements have more options to control things like font size, color, slider controls and custom attributes.  New Script commands make it easier to clear a single group (see ClearGroup), or reset the entire document (see Commands/RESET), or convert text with embedded MathML into plain-text (using option textconvert=true from GetElements). 

In the following example, color and textcolor are used for the buttons, and fontsize is used to distinguish the title from the other text.  These are all new options. 

Embedded component

Embedded component

Embedded component
Embedded componentEmbedded component
Image
Embedded componentEmbedded component Image
Embedded componentEmbedded component
Image

 

To try this on the web using Maple Learn, execute the following and then follow the hyperlink. 

> ShareCanvas(cv)
 

https://learn.maplesoft.com/#/?d=EHFOIGJKGROMMILGKOLOPIMNMQCFASEFALINDMHJIUBUGRJJJKBTJRDKLIAHANCPGREQHGDTILKLIPFLNTDFIMHPHUMHHPJLPKHJ