<commit_before>package main

import (
	"net/http"

	"github.com/codegangsta/negroni"
	"github.com/xyproto/onthefly"
)

// Create a Three.JS page
func ThreeJSPage() *onthefly.Page {
	p, t := onthefly.NewThreeJS("My first Three.js app")

	t.AddCamera()
	t.CameraPos("z", 5)

	t.AddRenderer()

	// Blue cube
	cube1 := t.AddTestCube()

	// Red cube
	cube2 := t.AddTestCube()
	cube2.JS += cube2.ID + ".rotation.x += 0.9;"

	// Render function
	r := onthefly.NewRenderFunction()<commit_msg>Wording<commit_after>package main

import (
	"net/http"

	"github.com/codegangsta/negroni"
	"github.com/xyproto/onthefly"
)

// Create a Three.JS page
func ThreeJSPage() *onthefly.Page {
	p, t := onthefly.NewThreeJS("My first Three.js app")

	t.AddCamera()
	t.CameraPos("z", 5)

	t.AddRenderer()

	// Test cube with material that shows the normals
	cube1 := t.AddTestCube()

	// Test cube with material that shows the normals
	cube2 := t.AddTestCube()
	cube2.JS += cube2.ID + ".rotation.x += 0.9;"

	// Render function
	r := onthefly.NewRenderFunction()
{'fraction_non_alphanumeric': 0.1562198649951784, 'fraction_numerical': 0.013500482160077145, 'mean_word_length': 3.6968325791855206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1844248', 'n_tokens_mistral': 430, 'n_tokens_neox': 409, 'n_words': 89}