User Tools

Site Tools


tutorials:create-interactive-tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:create-interactive-tutorial [2025/04/03 08:13] – [Second scene] Timtutorials:create-interactive-tutorial [2025/05/27 00:37] (current) barley1965
Line 1: Line 1:
 ====== Create an Interactive tutorial ====== ====== Create an Interactive tutorial ======
  
-Starting with GroIMP 2.1.7 it is possible to create interactive tutorials to present panels and workflows.  +Starting with GroIMP 2.1.7 it has become possible to create interactive tutorials to present panels and workflows.  
-The interaction is based on GroIMP Layouts and the embedded HTML view.+The interaction is based on GroIMP Layoutsthe embedded HTML view and the[[user-guide:more_panels#tutorial_navigation| tutorial navigation panel]].
  
  
 ===== Overall concept ===== ===== Overall concept =====
  
-GroIMP Layouts describe the composition of the different panels in a project and can be saved using "Panels/add Layout", chosen under "Panels/set Layout" and delete using the layout explorer "Panels/Layout".+GroIMP Layouts describe the composition of the different panels in a project and can be saved using "Panels/add Layout", chosen under "Panels/set Layout" and deleted using the layout explorer "Panels/Layout".
  
 The tutorial navigation panel allows the users to "walk through" the different project layouts, starting with the first created one.  The tutorial navigation panel allows the users to "walk through" the different project layouts, starting with the first created one. 
  
  
-===== First step planing! =====+===== First step: planning! =====
  
-Since a layout can not be renamed or edited it is not (easily) possible to later change the order of the different layouts in the walk through. Therefore it is important to properly plan your interactive tutorial.+Since a layout can not be renamed or edited it is not (easily) possible to later change the order of the different layouts in the walkthrough. Thereforeit is important to properly plan your interactive tutorial.
  
 ==== Content of each step ==== ==== Content of each step ====
  
-For each step/layout you need to know the panels you want in and the description of the step as an HTML file. You can simply create an HTML file using any editor (e.g. https://html5-editor.net) (or Word with a bigger font size). +For each step/layout you need to know the panels you want in and the description of the step as an HTML file. You can simply create an HTML file using any editor (e.g. https://html5-editor.net) (or Word with a bigger font size). It is hereby important to keep in mind that Java Swing and therefore the GroIMP GUI including the html-Viewer only support HTML up to version [[https://www.w3.org/TR/2018/SPSD-html32-20180315/ | 3.2]] (quite old) and no java-sript!. 
  
  
Line 54: Line 55:
   - Add the file 01_2DView.html to the HTML folder.   - Add the file 01_2DView.html to the HTML folder.
   - Open this file   - Open this file
-  - Close all panels but the file+  - Close all panels except the file
   - Open the 2d Graph and the Tutorial navigation panel    - Open the 2d Graph and the Tutorial navigation panel 
   - Arrange them in the layout below   - Arrange them in the layout below
Line 87: Line 88:
   - **close the file explorer !!!**   - **close the file explorer !!!**
   - open the Node toolbar 2d (you can find this under panels/2d/node toolbar 2d)   - open the Node toolbar 2d (you can find this under panels/2d/node toolbar 2d)
-  - arrange the layout to as you like (e.g.  see below)+  - arrange the layout according to your wishes (for an example, see below)
   - use the add layout menu entry to save this layout to the list of layouts   - use the add layout menu entry to save this layout to the list of layouts
  
Line 94: Line 95:
  
 ===== Third scene ===== ===== Third scene =====
 +
 +In the last step we want to show how the 2d toolbar is affecting the 3d view.
  
 <code html 03_3D_view.html>  <code html 03_3D_view.html> 
Line 103: Line 106:
 <h2> The changes in 3D</h2> <h2> The changes in 3D</h2>
  
-In the now opened 3D view you can see the F you added in the last step. +In the now opened 3D view you can see the F you added in the last step, please select this F in one of the views (both work) and add a second F (using the same steps as before). This will appear directly in the 3D view, on top of the other F as expected.
  
-To now highlite an additional feature of the 2D-toolbar, please Select the F in one of the views (both work) and add a second F.  
  
 </body> </body>
Line 111: Line 113:
 </code> </code>
  
 +To finalize this last layout we need again to add the html file and also the 3D view, a possible layout can be seen below. And of course save the layout.
 +
 +{{ :tutorials:interatictive_tutorial_step3.png?600 |}}
 +
 +
 +===== Finishing =====
 +
 +If you now press the next button, it should jump to the first layout and allow you to step through your three layouts. Done!
 +
 +===== Troubleshooting =====
  
 +If you accidentally added a wrong layout you can remove it through the layout-explorer, which can be found in panels/layouts. However, you can not change the order of the layouts there!  
 +Additionally you can always try to remove individual panels from an already saved layout, by saving and closing the project, accessing the gsz as an archive (zip) and edit the project.gs. It is reccomened to make a backup of the project before trying this. 
 +In the same way it is also possible to edit the HTML files later, they are also files in the gsz.
 + 
tutorials/create-interactive-tutorial.1743660793.txt.gz · Last modified: 2025/04/03 08:13 by Tim