<commit_before>package main

import "fmt"
import "time"

func main() {
	board := Board{}

	w := 20
	h := 25
	err := board.Connect(w, h, 4, 5)
	defer board.Free()

	if err != nil {
		fmt.Print("Error: ")
		fmt.Println(err)
		return
	}
	xPix := 0
	yPix := 0
	for {
		xPix++
		if xPix > w {
			xPix = 0
			yPix++
		}
		if yPix > h {
			xPix = 0
			yPix = 0
		}

		for x := 0; x < w; x++ {
			for y := 0; y < h; y++ {
				if x == xPix && y == yPix {
					board.DrawPixel(x, y, 100, 100, 100)
				} else {
					board.DrawPixel(x, y, 0, 0, 0)
				}
			}<commit_msg> added pretty blue light color to sine wave<commit_after>package main

import "fmt"
import "time"
import "math"

func main() {
	board := Board{}

	w := 20
	h := 25
	err := board.Connect(w, h, 4, 5)
	defer board.Free()

	if err != nil {
		fmt.Println("Error:", err)
		return
	}
	offset := 0.0
	for {
		offset -= 0.2
		for x := 0; x < w; x++ {
			for y := 0; y < h; y++ {
				dx := x - 10
				dy := y - 10
				dis := math.Sqrt(float64(dx*dx + dy*dy))
				amt := int(math.Sin(dis+offset)*125.0 + 125.0)
				board.DrawPixel(x, y, amt, 0, 125-amt/2)
			}
{'fraction_non_alphanumeric': 0.18411552346570398, 'fraction_numerical': 0.05054151624548736, 'mean_word_length': 2.2052023121387285, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '3028269', 'n_tokens_mistral': 608, 'n_tokens_neox': 479, 'n_words': 145}