aboutsummaryrefslogtreecommitdiff
path: root/content/pages/script.it/script.rst
blob: b0f515fef9b40da646521880388ef9fcb91df140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.. -*- mode: rst -*-
.. -*-  coding: utf-8 -*-

Ardoise calligraphique
======================

:status: hidden
:save_as: pages/script.it/index.html
:url: pages/script.it/
:tags: application
:date: 2021-01
:summary:

  Application javascript pour dessiner dans le navigateur avec le même rendu
  qu'une plume.

  .. image:: {static}/pages/applications/calligraphie.svg
   :align: center
   :target: {filename}/pages/script.it/script.rst#ardoise-calligraphique


.. raw:: html

  <noscript>Sorry, you need to enable JavaScript to see this page.</noscript>
    <script id="drawer_js" type="text/javascript" defer="defer" src="{static}script.js"></script>
  <script>
    var script = document.getElementById('drawer_js');
    script.addEventListener('load', function() {
      var app = document.getElementById('slate');
      drawer.run(app);
    });
  </script>
  <section class="todoapp" id="app">
      <canvas id="slate" class="drawing-zone" width="800" height="800">
  </section>

Cliquez dans l'ardoise pour commencer à dessiner !