<commit_before>/**
 * @license
 * Copyright 2019 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.CLASS({
  package: 'com.google.foam.demos.albums',
  name: 'TempleOfLove',
  extends: 'foam.graphics.CView',

  requires: [ 'foam.graphics.Arc' ],

  properties: [
    [ 'width',  500 ],
    [ 'height', 500 ]
  ],

  methods: [
    function initCView() {
      this.SUPER();
    }
  ]
});<commit_msg>Update demo.<commit_after>/**
 * @license
 * Copyright 2019 The FOAM Authors. All Rights Reserved.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

foam.CLASS({
  package: 'com.google.foam.demos.albums',
  name: 'TempleOfLove',
  extends: 'foam.graphics.Box',

  requires: [
    'foam.graphics.Circle',
    'foam.graphics.Line'
  ],

  properties: [
    [ 'width',  600 ],
    [ 'height', 500 ],
    [ 'color', 'black' ]
  ],

  methods: [
    function initCView() {
      this.SUPER();

      for ( var r = 0 ; r < Math.PI*2 ; r += Math.PI/80 ) {
        this.add(this.Line.create({
          startX: 180 + 50 * Math.cos(r),
          startY: 150 + 50 * Math.sin(r),
          endX: 180 + 700 * Math.cos(r),
          endY: 150 + 700 * Math.sin(r),
          color:'green'
        }));
      }
    }
  ]
});
{'fraction_non_alphanumeric': 0.18421052631578946, 'fraction_numerical': 0.03987240829346093, 'mean_word_length': 2.25974025974026, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6432533', 'n_tokens_mistral': 507, 'n_tokens_neox': 458, 'n_words': 88}