<commit_before>[iterami/common](https://github.com/iterami/Docs.htm/blob/gh-pages/common/README.md)/js/core.js
-----------------------------------------------------------------------------------------------

* [Globals](#globals)
* [`core_ajax(args)`](#core_ajaxargs)
* [`core_args(args)`](#core_argsargs)
* [`core_audio_create(args)`](#core_audio_createargs)
* [`core_audio_node_create(args)`](#core_audio_node_createargs)
* [`core_audio_onended(args)`](#core_audio_onendedargs)
* [`core_audio_source_create(args)`](#core_audio_source_createargs)
* [`core_audio_start(args)`](#core_audio_startargs)
* [`core_audio_stop_all(args)`](#core_audio_stop_allargs)
* [`core_audio_stop(args)`](#core_audio_stopargs)
* [`core_call(args)`](#core_callargs)
* [`core_clamp(args)`](#core_clampargs)
* [`core_cuboid_overlap(args)`](#core_cuboid_overlapargs)
* [`core_date_to_timestamp(args)`](#core_date_to_timestampargs)
* [`core_degrees_to_radians(args)`](#core_degrees_to_radiansargs)
* [`core_distance(args)`](#core_distanceargs)
* [`core_entity_create(args)`](#core_entity_createargs)
* [`core_entity_handle_default(args)`](#core_entity_handle_defaultargs)
* [`core_entity_remove_all(args)`](#core_entity_remove_allargs)
* [`core_entity_remove(args)`](#core_entity_removeargs)
* [`core_entity_set(args)`](#core_entity_setargs)
* [`core_escape()`](#core_escape)
* [`core_events_bind(args)`](#core_events_bindargs)
* [`core_events_keyinfo(event)`](#core_events_keyinfoevent)
* [`core_events_rebind(args)`](#core_events_rebindargs)
* [`core_events_todoloop()`](#core_events_todoloop)
* [`core_file(args)`](#core_fileargs)
* [`core_fixed_length_line(args)`](#core_fixed_length_lineargs)
* [`core_group_add(args)`](#core_group_addargs)
* [`core_group_create(args)`](#core_group_createargs)
* [`core_group_modify(args)`](#core_group_modifyargs)
* [`core_group_move(args)`](#core_group_moveargs)
* [`core_group_remove_all(args)`](#core_group_remove_allargs)
* [`core_group_remove(args)`](#core_group_removeargs)
* [`core_handle_beforeunload(event)`](#core_handle_beforeunloadevent)
* [`core_handle_blur(event)`](#core_handle_blurevent)
* [`core_handle_contextmenu(event)`](#core_handle_contextmenuevent)
* [`core_handle_defaults(args)`](#core_handle_defaultsargs)
* [`core_handle_event(args)`](#core_handle_eventargs)
* [`core_handle_gamepadconnected(event)`](#core_handle_gamepadconnectedevent)
* [`core_handle_gamepaddisconnected(event)`](#core_handle_gamepaddisconnectedevent)
* [`core_handle_keydown(event)`](#core_handle_keydownevent)
* [`core_handle_keyup(event)`](#core_handle_keyupevent)
* [`core_handle_mousedown(event)`](#core_handle_mousedownevent)
* [`core_handle_mousemove(event)`](#core_handle_mousemoveevent)
* [`core_handle_mouseup(event)`](#core_handle_mouseupevent)
* [`core_handle_mousewheel(event)`](#core_handle_mousewheelevent)
* [`core_handle_pointerlockchange(event)`](#core_handle_pointerlockchangeevent)
* [`core_hex_to_rgb(args)`](#core_hex_to_rgbargs)
* [`core_html_format(args)`](#core_html_formatargs)
* [`core_html_modify(args)`](#core_html_modifyargs)
* [`core_html(args)`](#core_htmlargs)
* [`core_image(args)`](#core_imageargs)
* [`core_init()`](#core_init)
* [`core_interval_animationFrame(args)`](#core_interval_animationframeargs)
* [`core_interval_modify(args)`](#core_interval_modifyargs)
* [`core_interval_pause_all()`](#core_interval_pause_all)
* [`core_interval_pause(args)`](#core_interval_pauseargs)
* [`core_interval_remove_all()`](#core_interval_remove_all)
* [`core_interval_remove(args)`](#core_interval_removeargs)
* [`core_interval_resume_all()`](#core_interval_resume_all)
* [`core_interval_resume(args)`](#core_interval_resumeargs)
* [`core_keys_updatebinds(args)`](#core_keys_updatebindsargs)
* [`core_matrix_clone(args)`](#core_matrix_cloneargs)
* [`core_matrix_copy(args)`](#core_matrix_copyargs)
* [`core_matrix_create()`](#core_matrix_create)
* [`core_matrix_delete(args)`](#core_matrix_deleteargs)
* [`core_matrix_identity(args)`](#core_matrix_identityargs)
* [`core_matrix_rotate(args)`](#core_matrix_rotateargs)
* [`core_matrix_round(args)`](#core_matrix_roundargs)
* [`core_matrix_translate(args)`](#core_matrix_translateargs)
* [`core_mouse_updatebinds(args)`](#core_mouse_updatebindsargs)
* [`core_move_2d_diagonal(args)`](#core_move_2d_diagonalargs)
* [`core_move_2d(args)`](#core_move_2dargs)
* [`core_move_3d(args)`](#core_move_3dargs)
* [`core_normalize(args)`](#core_normalizeargs)
* [`core_number_format(args)`](#core_number_formatargs)
* [`core_point_angle(args)`](#core_point_angleargs)
* [`core_radians_to_degrees(args)`](#core_radians_to_degreesargs)
* [`core_random_boolean(args)`](#core_random_booleanargs)
* [`core_random_hex(args)`](#core_random_hexargs)
* [`core_random_integer(args)`](#core_random_integerargs)
* [`core_random_key(args)`](#core_random_keyargs)
* [`core_random_number(args)`](#core_random_numberargs)
* [`core_random_rgb()`](#core_random_rgb)
* [`core_random_string(args)`](#core_random_stringargs)
* [`core_replace_multiple`](#core_replace_multipleargs)
* [`core_repo_init(args)`](#core_repo_initargs)
* [`core_requestpointerlock(args)`](#core_requestpointerlockargs)
* [`core_round(args)`](#core_roundargs)
* [`core_sort_custom(args)`](#core_sort_customargs)
* [`core_sort_numbers(args)`](#core_sort_numbersargs)
* [`core_sort_property(args)`](#core_sort_propertyargs)
* [`core_sort_random(args)`](#core_sort_randomargs)
* [`core_sort_strings(args)`](#core_sort_stringsargs)
* [`core_storage_add(args)`](#core_storage_addargs)
* [`core_storage_element_property(args)`](#core_storage_element_propertyargs)
* [`core_storage_reset()`](#core_storage_reset)
* [`core_storage_save()`](#core_storage_save)
* [`core_storage_update(args)`](#core_storage_updateargs)
* [`core_tab_create(args)`](#core_tab_createargs)
* [`core_tab_switch(args)`](#core_tab_switchargs)
* [`core_test_function(args)`](#core_test_functionargs)
* [`core_time_diff(args)`](#core_time_diffargs)
* [`core_time_format(args)`](#core_time_formatargs)
* [`core_time_from_inputs()`](#core_time_from_inputs)
* [`core_time_timestamp_to_date(args)`](#core_timestamp_to_dateargs)
* [`core_time_two_digits(args)`](#core_two_digitsargs)
* [`core_type(args)`](#core_typeargs)
* [`core_type_convert(args)`](#core_type_convertargs)
* [`core_ui_update(args)`](#core_ui_updateargs)
* [`core_uri(args)`](#core_uriargs)

---

### Globals

Global                    | Default         | Type
--------------------------|-----------------|----------------------
core_audio                | {}              | object
core_audio_context        | false           | boolean, AudioContext
core_audio_sources        | {}              | object
core_entities             | {}              | object
core_entity_info          | {}              | object
core_entity_types_defualt | []              | array
core_events               | {}              | object
core_gamepads             | {}              | object
core_groups               | {'_length': {}} | object
core_id_count             | 0               | number
core_images               | {}              | object
core_intervals            | {}              | object
core_key_rebinds          | {}              | object
core_keys                 | {}              | object
core_matrices             | {}              | object
core_menu_block_events    | true            | boolean
core_menu_open            | false           | boolean
core_mode                 | 0               | number
core_mouse                | {}              | object
core_repo_title           | ''              | string
core_storage_data         | {}              | object
core_storage_info         | {}              | object
core_tabs                 | {}              | object
core_tau                  | Math.PI * 2     | number
core_ui_values            | {}              | object

---

### `core_ajax(args)`
* Initiates and handles AJAX requests.

Arg        | Default | Type
-----------|---------|---------
data       | null    |
readyState | 4       | number
status     | 200     | number
todo       |         | function
type       | 'GET'   | string
url        |         | string

---

### `core_args(args)`
* Creates an `args` object with provided properties, populates it with additional optional default properties, and returns it.

Arg      | Default | Type
---------|---------|-------
args     | {}      | object
defaults | {}      | object

---

### `core_audio_create(args)`<commit_msg>precalculated core_tau<commit_after>[iterami/common](https://github.com/iterami/Docs.htm/blob/gh-pages/common/README.md)/js/core.js
-----------------------------------------------------------------------------------------------

* [Globals](#globals)
* [`core_ajax(args)`](#core_ajaxargs)
* [`core_args(args)`](#core_argsargs)
* [`core_audio_create(args)`](#core_audio_createargs)
* [`core_audio_node_create(args)`](#core_audio_node_createargs)
* [`core_audio_onended(args)`](#core_audio_onendedargs)
* [`core_audio_source_create(args)`](#core_audio_source_createargs)
* [`core_audio_start(args)`](#core_audio_startargs)
* [`core_audio_stop_all(args)`](#core_audio_stop_allargs)
* [`core_audio_stop(args)`](#core_audio_stopargs)
* [`core_call(args)`](#core_callargs)
* [`core_clamp(args)`](#core_clampargs)
* [`core_cuboid_overlap(args)`](#core_cuboid_overlapargs)
* [`core_date_to_timestamp(args)`](#core_date_to_timestampargs)
* [`core_degrees_to_radians(args)`](#core_degrees_to_radiansargs)
* [`core_distance(args)`](#core_distanceargs)
* [`core_entity_create(args)`](#core_entity_createargs)
* [`core_entity_handle_default(args)`](#core_entity_handle_defaultargs)
* [`core_entity_remove_all(args)`](#core_entity_remove_allargs)
* [`core_entity_remove(args)`](#core_entity_removeargs)
* [`core_entity_set(args)`](#core_entity_setargs)
* [`core_escape()`](#core_escape)
* [`core_events_bind(args)`](#core_events_bindargs)
* [`core_events_keyinfo(event)`](#core_events_keyinfoevent)
* [`core_events_rebind(args)`](#core_events_rebindargs)
* [`core_events_todoloop()`](#core_events_todoloop)
* [`core_file(args)`](#core_fileargs)
* [`core_fixed_length_line(args)`](#core_fixed_length_lineargs)
* [`core_group_add(args)`](#core_group_addargs)
* [`core_group_create(args)`](#core_group_createargs)
* [`core_group_modify(args)`](#core_group_modifyargs)
* [`core_group_move(args)`](#core_group_moveargs)
* [`core_group_remove_all(args)`](#core_group_remove_allargs)
* [`core_group_remove(args)`](#core_group_removeargs)
* [`core_handle_beforeunload(event)`](#core_handle_beforeunloadevent)
* [`core_handle_blur(event)`](#core_handle_blurevent)
* [`core_handle_contextmenu(event)`](#core_handle_contextmenuevent)
* [`core_handle_defaults(args)`](#core_handle_defaultsargs)
* [`core_handle_event(args)`](#core_handle_eventargs)
* [`core_handle_gamepadconnected(event)`](#core_handle_gamepadconnectedevent)
* [`core_handle_gamepaddisconnected(event)`](#core_handle_gamepaddisconnectedevent)
* [`core_handle_keydown(event)`](#core_handle_keydownevent)
* [`core_handle_keyup(event)`](#core_handle_keyupevent)
* [`core_handle_mousedown(event)`](#core_handle_mousedownevent)
* [`core_handle_mousemove(event)`](#core_handle_mousemoveevent)
* [`core_handle_mouseup(event)`](#core_handle_mouseupevent)
* [`core_handle_mousewheel(event)`](#core_handle_mousewheelevent)
* [`core_handle_pointerlockchange(event)`](#core_handle_pointerlockchangeevent)
* [`core_hex_to_rgb(args)`](#core_hex_to_rgbargs)
* [`core_html_format(args)`](#core_html_formatargs)
* [`core_html_modify(args)`](#core_html_modifyargs)
* [`core_html(args)`](#core_htmlargs)
* [`core_image(args)`](#core_imageargs)
* [`core_init()`](#core_init)
* [`core_interval_animationFrame(args)`](#core_interval_animationframeargs)
* [`core_interval_modify(args)`](#core_interval_modifyargs)
* [`core_interval_pause_all()`](#core_interval_pause_all)
* [`core_interval_pause(args)`](#core_interval_pauseargs)
* [`core_interval_remove_all()`](#core_interval_remove_all)
* [`core_interval_remove(args)`](#core_interval_removeargs)
* [`core_interval_resume_all()`](#core_interval_resume_all)
* [`core_interval_resume(args)`](#core_interval_resumeargs)
* [`core_keys_updatebinds(args)`](#core_keys_updatebindsargs)
* [`core_matrix_clone(args)`](#core_matrix_cloneargs)
* [`core_matrix_copy(args)`](#core_matrix_copyargs)
* [`core_matrix_create()`](#core_matrix_create)
* [`core_matrix_delete(args)`](#core_matrix_deleteargs)
* [`core_matrix_identity(args)`](#core_matrix_identityargs)
* [`core_matrix_rotate(args)`](#core_matrix_rotateargs)
* [`core_matrix_round(args)`](#core_matrix_roundargs)
* [`core_matrix_translate(args)`](#core_matrix_translateargs)
* [`core_mouse_updatebinds(args)`](#core_mouse_updatebindsargs)
* [`core_move_2d_diagonal(args)`](#core_move_2d_diagonalargs)
* [`core_move_2d(args)`](#core_move_2dargs)
* [`core_move_3d(args)`](#core_move_3dargs)
* [`core_normalize(args)`](#core_normalizeargs)
* [`core_number_format(args)`](#core_number_formatargs)
* [`core_point_angle(args)`](#core_point_angleargs)
* [`core_radians_to_degrees(args)`](#core_radians_to_degreesargs)
* [`core_random_boolean(args)`](#core_random_booleanargs)
* [`core_random_hex(args)`](#core_random_hexargs)
* [`core_random_integer(args)`](#core_random_integerargs)
* [`core_random_key(args)`](#core_random_keyargs)
* [`core_random_number(args)`](#core_random_numberargs)
* [`core_random_rgb()`](#core_random_rgb)
* [`core_random_string(args)`](#core_random_stringargs)
* [`core_replace_multiple`](#core_replace_multipleargs)
* [`core_repo_init(args)`](#core_repo_initargs)
* [`core_requestpointerlock(args)`](#core_requestpointerlockargs)
* [`core_round(args)`](#core_roundargs)
* [`core_sort_custom(args)`](#core_sort_customargs)
* [`core_sort_numbers(args)`](#core_sort_numbersargs)
* [`core_sort_property(args)`](#core_sort_propertyargs)
* [`core_sort_random(args)`](#core_sort_randomargs)
* [`core_sort_strings(args)`](#core_sort_stringsargs)
* [`core_storage_add(args)`](#core_storage_addargs)
* [`core_storage_element_property(args)`](#core_storage_element_propertyargs)
* [`core_storage_reset()`](#core_storage_reset)
* [`core_storage_save()`](#core_storage_save)
* [`core_storage_update(args)`](#core_storage_updateargs)
* [`core_tab_create(args)`](#core_tab_createargs)
* [`core_tab_switch(args)`](#core_tab_switchargs)
* [`core_test_function(args)`](#core_test_functionargs)
* [`core_time_diff(args)`](#core_time_diffargs)
* [`core_time_format(args)`](#core_time_formatargs)
* [`core_time_from_inputs()`](#core_time_from_inputs)
* [`core_time_timestamp_to_date(args)`](#core_timestamp_to_dateargs)
* [`core_time_two_digits(args)`](#core_two_digitsargs)
* [`core_type(args)`](#core_typeargs)
* [`core_type_convert(args)`](#core_type_convertargs)
* [`core_ui_update(args)`](#core_ui_updateargs)
* [`core_uri(args)`](#core_uriargs)

---

### Globals

Global                    | Default           | Type
--------------------------|-------------------|----------------------
core_audio                | {}                | object
core_audio_context        | false             | boolean, AudioContext
core_audio_sources        | {}                | object
core_entities             | {}                | object
core_entity_info          | {}                | object
core_entity_types_defualt | []                | array
core_events               | {}                | object
core_gamepads             | {}                | object
core_groups               | {'_length': {}}   | object
core_id_count             | 0                 | number
core_images               | {}                | object
core_intervals            | {}                | object
core_key_rebinds          | {}                | object
core_keys                 | {}                | object
core_matrices             | {}                | object
core_menu_block_events    | true              | boolean
core_menu_open            | false             | boolean
core_mode                 | 0                 | number
core_mouse                | {}                | object
core_repo_title           | ''                | string
core_storage_data         | {}                | object
core_storage_info         | {}                | object
core_tabs                 | {}                | object
core_tau                  | 6.283185307179586 | number
core_ui_values            | {}                | object

---

### `core_ajax(args)`
* Initiates and handles AJAX requests.

Arg        | Default | Type
-----------|---------|---------
data       | null    |
readyState | 4       | number
status     | 200     | number
todo       |         | function
type       | 'GET'   | string
url        |         | string

---

### `core_args(args)`
* Creates an `args` object with provided properties, populates it with additional optional default properties, and returns it.

Arg      | Default | Type
---------|---------|-------
args     | {}      | object
defaults | {}      | object

---

### `core_audio_create(args)`
{'fraction_non_alphanumeric': 0.18012862115759043, 'fraction_numerical': 0.002419021771195941, 'mean_word_length': 4.989399293286219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '302345', 'n_tokens_mistral': 6013, 'n_tokens_neox': 5706, 'n_words': 451}