Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

制約を用いた作図言語Pita

33 views

Published on

第8期サイボウズ・ラボユース成果発表会の資料です。

サイボウズ・ラボユース
http://labs.cybozu.co.jp/youth.html

Pita
https://agehama.github.io/Pita

Published in: Software
  • Be the first to comment

  • Be the first to like this

制約を用いた作図言語Pita

  1. 1. main = Shape{ a: Square{scal b: Square{scal c: Square{scal sat( Contact(a ...
  2. 2. <script src="https://cdn.jsdelivr.net/gh/agehama/Pita/docs/js/pita/pita.js"></script> <div id="svg1"></div> <script language="javascript" type="text/javascript"> pitaModule.then(function(pita){ var result = pita.run("Square{scale:X2(100)}", true); document.getElementById("svg1").innerHTML = result; }); </script>
  3. 3. [Square{}, Triangle{}, Circle{}]

×