<commit_before>module.exports = class ParticleApi_

	size: (x) ->

		@_params.size[0] = x

		@

	getSize: ->

		@_params.size[0]

	moveXTo: (x) ->

		@_params.pos[0] = x

		@

	moveX: (x) ->

		@_params.pos[0] += x

		@

	moveYTo: (y) ->

		@_params.pos[1] = y

		@

	moveY: (y) ->

		@_params.pos[1] += y

		@

	moveZTo: (z) ->

		@_params.pos[2] = z

		@

	moveZ: (z) ->

		@_params.pos[2] += z

		@

	getMovement: ->

		@_params.pos

		@

	moveTo: (x, y, z) ->

		@_params.pos[0] = x
		@_params.pos[1] = y
		@_params.pos[2] = z

		@

	move: (x, y, to) ->

		@_params.pos[0] += x
		@_params.pos[1] += y
		@_params.pos[2] += z

		@

	rotateZTo: (z) ->

		@_params.zRotation[0] = z

		@

	rotateZ: (z) ->

		@_params.zRotation[0] += z

		@

	getZRotation: ->

		@_params.zRotation[0]

	color: (r, g, b, a = 255) ->


		@_params.color[0] = r
		@_params.color[1] = g
		@_params.color[2] = b
		@_params.color[3] = a
		console.log @_params.color

		@

	getColor: ->

		@_params.color

	opacity: (o) ->

		@_params.opacity[0] = o

		@

	getOpacity: ->

		@_params.opacity[0]

	fillWithImage: (image) ->

		@_painter.updateFillWithImage @_params, image

		@

	maskOnImage: (image) ->

		@_painter.updateMaskOnImage @_params, image

		@

	maskWithImage: (image, channel = 4) ->

		@_painter.updateMaskWithImage @_params, image, channel

		@

	tint: (r, g, b, intensity) ->

		@_params.tint[0] = r
		@_params.tint[1] = g
		@_params.tint[2] = b
		@_params.tint[3] = intensity

		@

	_enable: ->

		@_params.enabled[0] = 1

		@

	_disable: ->

		@_params.enabled[0] = 0

		@<commit_msg>removed console.log(). my bad :)<commit_after>module.exports = class ParticleApi_

	size: (x) ->

		@_params.size[0] = x

		@

	getSize: ->

		@_params.size[0]

	moveXTo: (x) ->

		@_params.pos[0] = x

		@

	moveX: (x) ->

		@_params.pos[0] += x

		@

	moveYTo: (y) ->

		@_params.pos[1] = y

		@

	moveY: (y) ->

		@_params.pos[1] += y

		@

	moveZTo: (z) ->

		@_params.pos[2] = z

		@

	moveZ: (z) ->

		@_params.pos[2] += z

		@

	getMovement: ->

		@_params.pos

		@

	moveTo: (x, y, z) ->

		@_params.pos[0] = x
		@_params.pos[1] = y
		@_params.pos[2] = z

		@

	move: (x, y, to) ->

		@_params.pos[0] += x
		@_params.pos[1] += y
		@_params.pos[2] += z

		@

	rotateZTo: (z) ->

		@_params.zRotation[0] = z

		@

	rotateZ: (z) ->

		@_params.zRotation[0] += z

		@

	getZRotation: ->

		@_params.zRotation[0]

	color: (r, g, b, a = 255) ->


		@_params.color[0] = r
		@_params.color[1] = g
		@_params.color[2] = b
		@_params.color[3] = a

		@

	getColor: ->

		@_params.color

	opacity: (o) ->

		@_params.opacity[0] = o

		@

	getOpacity: ->

		@_params.opacity[0]

	fillWithImage: (image) ->

		@_painter.updateFillWithImage @_params, image

		@

	maskOnImage: (image) ->

		@_painter.updateMaskOnImage @_params, image

		@

	maskWithImage: (image, channel = 4) ->

		@_painter.updateMaskWithImage @_params, image, channel

		@

	tint: (r, g, b, intensity) ->

		@_params.tint[0] = r
		@_params.tint[1] = g
		@_params.tint[2] = b
		@_params.tint[3] = intensity

		@

	_enable: ->

		@_params.enabled[0] = 1

		@

	_disable: ->

		@_params.enabled[0] = 0

		@
{'fraction_non_alphanumeric': 0.2001909611712285, 'fraction_numerical': 0.022278803309993635, 'mean_word_length': 2.3978378378378378, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 51, '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': '6345237', 'n_tokens_mistral': 1717, 'n_tokens_neox': 1454, 'n_words': 254}