index.html 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <!doctype html>
  2. <html lang="en" class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <link rel="shortcut icon" href="../assets/images/favicon.png">
  7. <meta name="generator" content="mkdocs-1.1.2, mkdocs-material-5.5.0">
  8. <title>About - Jypyter Sketcher</title>
  9. <link rel="stylesheet" href="../assets/stylesheets/main.5be48db2.min.css">
  10. <link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
  11. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
  12. <style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style>
  13. </head>
  14. <body dir="ltr">
  15. <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
  16. <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
  17. <label class="md-overlay" for="__drawer"></label>
  18. <div data-md-component="skip">
  19. </div>
  20. <div data-md-component="announce">
  21. </div>
  22. <header class="md-header" data-md-component="header">
  23. <nav class="md-header-nav md-grid" aria-label="Header">
  24. <a href=".." title="Jypyter Sketcher" class="md-header-nav__button md-logo" aria-label="Jypyter Sketcher">
  25. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
  26. </a>
  27. <label class="md-header-nav__button md-icon" for="__drawer">
  28. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
  29. </label>
  30. <div class="md-header-nav__title" data-md-component="header-title">
  31. <div class="md-header-nav__ellipsis">
  32. <span class="md-header-nav__topic md-ellipsis">
  33. Jypyter Sketcher
  34. </span>
  35. <span class="md-header-nav__topic md-ellipsis">
  36. About
  37. </span>
  38. </div>
  39. </div>
  40. <label class="md-header-nav__button md-icon" for="__search">
  41. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
  42. </label>
  43. <div class="md-search" data-md-component="search" role="dialog">
  44. <label class="md-search__overlay" for="__search"></label>
  45. <div class="md-search__inner" role="search">
  46. <form class="md-search__form" name="search">
  47. <input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
  48. <label class="md-search__icon md-icon" for="__search">
  49. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
  50. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
  51. </label>
  52. <button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
  53. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
  54. </button>
  55. </form>
  56. <div class="md-search__output">
  57. <div class="md-search__scrollwrap" data-md-scrollfix>
  58. <div class="md-search-result" data-md-component="search-result">
  59. <div class="md-search-result__meta">
  60. Initializing search
  61. </div>
  62. <ol class="md-search-result__list"></ol>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. </nav>
  69. </header>
  70. <div class="md-container" data-md-component="container">
  71. <main class="md-main" data-md-component="main">
  72. <div class="md-main__inner md-grid">
  73. <div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
  74. <div class="md-sidebar__scrollwrap">
  75. <div class="md-sidebar__inner">
  76. <nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
  77. <label class="md-nav__title" for="__drawer">
  78. <a href=".." title="Jypyter Sketcher" class="md-nav__button md-logo" aria-label="Jypyter Sketcher">
  79. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 003-3 3 3 0 00-3-3 3 3 0 00-3 3 3 3 0 003 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54z"/></svg>
  80. </a>
  81. Jypyter Sketcher
  82. </label>
  83. <ul class="md-nav__list" data-md-scrollfix>
  84. <li class="md-nav__item">
  85. <a href=".." title="Home" class="md-nav__link">
  86. Home
  87. </a>
  88. </li>
  89. <li class="md-nav__item">
  90. <a href="../sketcher/" title="Sketcher definition" class="md-nav__link">
  91. Sketcher definition
  92. </a>
  93. </li>
  94. <li class="md-nav__item md-nav__item--active">
  95. <input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
  96. <a href="./" title="About" class="md-nav__link md-nav__link--active">
  97. About
  98. </a>
  99. </li>
  100. </ul>
  101. </nav>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="md-content">
  106. <article class="md-content__inner md-typeset">
  107. <h1>About</h1>
  108. <p>In summer 2020 I discovered <a href="https://github.com/hplgit/pysketcher">Pysketcher</a> as I was looking for a way to create Physics sketches for both design and simulation.</p>
  109. <p>My second requirement is to have sketches available in Jupyter notebooks (Lab or notebook server)</p>
  110. <p>Pysketch was developped in 2012 by <a href="https://en.wikipedia.org/wiki/Hans_Petter_Langtangen">Hans Petter Langtangen</a>, see it in <a href="https://github.com/hplgit/pysketcher">GitHub</a>. At that time, Jupyter was emerging and Pysketch was developped as a standalone application. </p>
  111. <p>I just need to upgrade it to make it compatible with Jupyter: This is the inception of Jupyter Sketch project!</p>
  112. <p>A sketch capturing the dry friction case</p>
  113. <p><img alt="" src="../images/dryfriction.png" /></p>
  114. <p>How it is structured: the composition hierarchy</p>
  115. <p><img alt="" src="../images/dotfriction.png" /></p>
  116. </article>
  117. </div>
  118. </div>
  119. </main>
  120. <footer class="md-footer">
  121. <div class="md-footer-nav">
  122. <nav class="md-footer-nav__inner md-grid" aria-label="Footer">
  123. <a href="../sketcher/" title="Sketcher definition" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
  124. <div class="md-footer-nav__button md-icon">
  125. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
  126. </div>
  127. <div class="md-footer-nav__title">
  128. <div class="md-ellipsis">
  129. <span class="md-footer-nav__direction">
  130. Previous
  131. </span>
  132. Sketcher definition
  133. </div>
  134. </div>
  135. </a>
  136. </nav>
  137. </div>
  138. <div class="md-footer-meta md-typeset">
  139. <div class="md-footer-meta__inner md-grid">
  140. <div class="md-footer-copyright">
  141. Made with
  142. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  143. Material for MkDocs
  144. </a>
  145. </div>
  146. </div>
  147. </div>
  148. </footer>
  149. </div>
  150. <script src="../assets/javascripts/vendor.877163d5.min.js"></script>
  151. <script src="../assets/javascripts/bundle.1688372e.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents"}</script>
  152. <script>
  153. app = initialize({
  154. base: "..",
  155. features: [],
  156. search: Object.assign({
  157. worker: "../assets/javascripts/worker/search.a68abb33.min.js"
  158. }, typeof search !== "undefined" && search)
  159. })
  160. </script>
  161. <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script>
  162. </body>
  163. </html>