<commit_before>// Copyright 2016, University of Colorado Boulder

/**
 * Triangle indicators used in the paint gradient and apple graph.
 *
 * @author <NAME> (PhET Interactive Simulations)
 */
define( function( require ) {
  'use strict';

  // modules
  var inherit = require( 'PHET_CORE/inherit' );
  var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' );
  var Shape = require( 'KITE/Shape' );
  var Path = require( 'SCENERY/nodes/Path' );
  var Matrix3 = require( 'DOT/Matrix3' );

  // constants
  var TRIANGLE_LENGTH = 25;
  var TRIANGLE_ALTITUDE = Math.sqrt( 3 ) / 2 * TRIANGLE_LENGTH;
  var LEFT_TRIANGLE_SHAPE = new Shape()
    .moveTo( 0, 0 )
    .lineTo( TRIANGLE_ALTITUDE, TRIANGLE_LENGTH / 2 )
    .lineTo( 0, TRIANGLE_LENGTH )
    .lineTo( 0, 0 );
  var RIGHT_TRIANGLE_SHAPE = LEFT_TRIANGLE_SHAPE.transformed( Matrix3.scaling( -1, 1 ) );

  /**
   *
   * @param {string} direction - 'left' or 'right'
   * @param {Object} [options]
   * @constructor
   */
  function TriangleNode( direction, options ) {
    assert && assert( direction === 'right' || direction === 'left', 'Direction should be right or left' );
    options = _.extend( { stroke: 'black', lineWidth: 2 }, options );<commit_msg>Arrow tweaks for https://github.com/phetsims/proportion-playground/issues/36<commit_after>// Copyright 2016, University of Colorado Boulder

/**
 * Triangle indicators used in the paint gradient and apple graph.
 *
 * @author <NAME> (PhET Interactive Simulations)
 */
define( function( require ) {
  'use strict';

  // modules
  var inherit = require( 'PHET_CORE/inherit' );
  var proportionPlayground = require( 'PROPORTION_PLAYGROUND/proportionPlayground' );
  var Shape = require( 'KITE/Shape' );
  var Path = require( 'SCENERY/nodes/Path' );
  var Matrix3 = require( 'DOT/Matrix3' );

  // constants
  var TRIANGLE_LENGTH = 17;
  var TRIANGLE_ALTITUDE = 10;
  var LEFT_TRIANGLE_SHAPE = new Shape()
    .moveTo( 0, 0 )
    .lineTo( TRIANGLE_ALTITUDE, TRIANGLE_LENGTH / 2 )
    .lineTo( 0, TRIANGLE_LENGTH )
    .lineTo( 0, 0 );
  var RIGHT_TRIANGLE_SHAPE = LEFT_TRIANGLE_SHAPE.transformed( Matrix3.scaling( -1, 1 ) );

  /**
   *
   * @param {string} direction - 'left' or 'right'
   * @param {Object} [options]
   * @constructor
   */
  function TriangleNode( direction, options ) {
    assert && assert( direction === 'right' || direction === 'left', 'Direction should be right or left' );
    options = _.extend( { stroke: 'black', lineWidth: 1 }, options );
{'fraction_non_alphanumeric': 0.13514594162335067, 'fraction_numerical': 0.01679328268692523, 'mean_word_length': 3.6333333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '901985', 'n_tokens_mistral': 904, 'n_tokens_neox': 823, 'n_words': 228}