<commit_before><template lang='pug'>
  .app-menu(@mousemove='onMouseMove')
    transition(name='overlay' mode='out-in')
      .overlay(v-show='open')
    a.app-menu-btn(@click='open = !open')
    span.app-menu-title PXLHEAD

    transition(name='scale' mode='out-in')
      .app-menu-modal(v-show='open' @click='changePage'
        :class='{ pointer: showPointer }')
        a.app-menu-esc(@click='open = !open')
        router-link.app-menu-link(v-show='topView' v-for='link in linksData'
          :style='{ top: link.top, left: link.left }'
          :to='`/${link.name}`'  :key='link.name') {{ link.name }}
</template>

<script>
import { TweenLite } from 'gsap'
import {
  Scene,
  PerspectiveCamera,
  WebGLRenderer,
  PCFSoftShadowMap,
  Raycaster,
  DirectionalLight,
  Vector2,
  Group
} from 'three'
import { drawSpace, drawPlanet, drawOrbit } from '@/util/space'

export default {
  name: 'app-menu',

  data() {
    return {
      open: false,
      topView: false,
      showPointer: false,
      activeLink: '',
      labels: [],
      pauseMusic: false,
      setVolume: 1
    }
  },

  beforeMount() {
    this.scene = new Scene()
    this.draw()
  },

  mounted() {
    this.setSize()

    this.init()
    this.animate()
  },

  methods: {
    init() {
      this.camera = new PerspectiveCamera(75, this.width / this.height, 0.1, 1000)
      this.camera.position.z = 300

      this.renderer = new WebGLRenderer({ alpha: true, antialias: true })
      this.renderer.setPixelRatio(window.devicePixelRatio)
      this.renderer.setSize(this.width, this.height)
      this.renderer.shadowMap.enabled = true
      this.renderer.shadowMap.type = PCFSoftShadowMap

      this.raycaster = new Raycaster()
      this.mouse = new Vector2()<commit_msg>Minor fixes<commit_after><template lang='pug'>
  .app-menu(@mousemove='onMouseMove')
    transition(name='overlay' mode='out-in')
      .overlay(v-show='open')
    a.app-menu-btn(@click='open = !open')
    span.app-menu-title PXLHEAD

    transition(name='scale' mode='out-in')
      .app-menu-modal(v-show='open' @click='changePage'
        :class='{ pointer: showPointer }')
        a.app-menu-esc(@click='open = !open')
        router-link.app-menu-link(v-show='topView' v-for='link in linksData'
          :style='{ top: link.top, left: link.left }'
          :to='`/${link.name}`'  :key='link.name') {{ link.name }}
</template>

<script>
import { TweenLite } from 'gsap'
import {
  Scene,
  PerspectiveCamera,
  WebGLRenderer,
  PCFSoftShadowMap,
  Raycaster,
  DirectionalLight,
  Vector2,
  Group
} from 'three'
import { drawSpace, drawPlanet, drawOrbit } from '@/util/space'

export default {
  name: 'app-menu',

  data() {
    return {
      open: false,
      topView: false,
      showPointer: false,
      activeLink: '',
      linksData: [
        { name: 'art', color: 0xD72DA9, size: 9, speed: 0.002, radius: 50 },
        { name: 'music', color: 0xB42DD7, size: 10, speed: 0.001, radius: 80 },
        { name: 'articles', color: 0x1DC3B0, size: 11, speed: 0.0008, radius: 110 },
        { name: 'projects', color: 0x3CA1E7, size: 14, speed: 0.0006, radius: 140 },
        { name: 'experiments', color: 0x5137EF, size: 15, speed: 0.0004, radius: 170 }
      ],
      pauseMusic: false,
      setVolume: 1
    }
  },

  beforeMount() {
    this.scene = new Scene()
    this.draw()
  },

  mounted() {
    this.setSize()

    this.init()
    this.animate()
  },

  methods: {
    init() {
      this.camera = new PerspectiveCamera(75, this.width / this.height, 0.1, 1000)
      this.camera.position.z = 300

      this.renderer = new WebGLRenderer({ alpha: true, antialias: true })
      this.renderer.setPixelRatio(window.devicePixelRatio)
      this.renderer.setSize(this.width, this.height)
      this.renderer.shadowMap.enabled = true
      this.renderer.shadowMap.type = PCFSoftShadowMap

      this.raycaster = new Raycaster()
      this.mouse = new Vector2()
{'fraction_non_alphanumeric': 0.15802845528455284, 'fraction_numerical': 0.023882113821138213, 'mean_word_length': 2.8447265625, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '3071437', 'n_tokens_mistral': 1440, 'n_tokens_neox': 1351, 'n_words': 274}