{"id":1517,"date":"2018-10-31T05:36:51","date_gmt":"2018-10-31T05:36:51","guid":{"rendered":"https:\/\/www.courses.tegabrain.com\/cc18\/?p=1517"},"modified":"2018-10-31T05:37:50","modified_gmt":"2018-10-31T05:37:50","slug":"claudia_researchpost5","status":"publish","type":"post","link":"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/10\/31\/claudia_researchpost5\/","title":{"rendered":"Claudia_ResearchPost5"},"content":{"rendered":"<p><strong>p5.js Library: Dimension<\/strong><\/p>\n<p>This add-on to p5.js is intended to extend the p5 vector functions to any number of dimensions. The users can use as many points and dimensions as they like, as long as it&#8217;s less than 52.\u00a0Currently I believe all the standard vector functions in p5 can be used in the same way using this add-on. The function used to do the calculations for sum of vectors:<\/p>\n<pre>result = nAdd(pos1, pos2);<\/pre>\n<p>And the vectors can be created like this:<\/p>\n<pre>var pos1 = nVector(int, int, int, int);<\/pre>\n<p>link to library: <a href=\"https:\/\/github.com\/Smilebags\/p5.dimensions.js\">https:\/\/github.com\/Smilebags\/p5.dimensions.js<\/a><\/p>\n<p>example of an animated rotating 4D hypercube: <a href=\"https:\/\/github.com\/Smilebags\/p5.dimensions.js\/blob\/master\/libraries\/p5.dimensions.js\">https:\/\/github.com\/Smilebags\/p5.dimensions.js\/blob\/master\/libraries\/p5.dimensions.js<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>p5.js Library: Dimension This add-on to p5.js is intended to extend the p5 vector functions to any number of dimensions. The users can use as many points and dimensions as they like, as long as it&#8217;s less than 52.\u00a0Currently I believe all the standard vector functions in p5 can be used in the same way<a class=\"more-link button\" href=\"https:\/\/www.courses.tegabrain.com\/cc18\/2018\/10\/31\/claudia_researchpost5\/\">Read More<\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-1517","post","type-post","status-publish","format-standard","hentry","category-researchpost5"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paeb9f-ot","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts\/1517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/comments?post=1517"}],"version-history":[{"count":2,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts\/1517\/revisions"}],"predecessor-version":[{"id":1519,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/posts\/1517\/revisions\/1519"}],"wp:attachment":[{"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/media?parent=1517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/categories?post=1517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.courses.tegabrain.com\/cc18\/wp-json\/wp\/v2\/tags?post=1517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}