{"__browser":{"country":"US","device":"unknown_device","mobile":false,"name":"unknown browser","platform":"unknown_platform","version":"0"},"__constants":{},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"accelerometer *; ambient-light-sensor *; camera *; display-capture *; encrypted-media *; geolocation *; gyroscope *; microphone *; midi *; payment *; vr *; web-share *; serial *; xr-spatial-tracking *","iframe_sandbox":"allow-downloads allow-forms allow-modals allow-pointer-lock allow-popups-to-escape-sandbox allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation-by-user-activation"},"__graphql":{"data":{"data":{"sessionUser":{"id":"VoDkNZ","name":"Captain Anonymous","title":"Captain Anonymous","avatar":"https://assets.codepen.io/t-1/user-default-avatar.jpg?format=auto&version=0","currentContext":{"id":"VoDkNZ","title":"Captain Anonymous","name":"Captain Anonymous","avatar":"https://assets.codepen.io/t-1/user-default-avatar.jpg?format=auto&version=0","username":"anon","__typename":"User"},"currentTeamId":null,"username":"anon","admin":false,"anon":true,"pro":false,"verified":false,"featureFlags":[],"teams":[],"__typename":"User"}}},"url":"https://codepen.io/graphql","api":"cprails"},"__user":{"anon":true,"base_url":"/anon/","cohorts":[],"current_team_hashid":null,"current_team_id":0,"hashid":"VoDkNZ","id":1,"itemType":"user","name":"Captain Anonymous","paid":false,"tier":0,"username":"anon","created_at":null,"email_verified":null,"collections_count":0,"collections_private_count":0,"followers_count":0,"followings_count":0,"pens_count":0,"pens_private_count":0,"projects_count":0,"projects_private_count":0},"__firebase":{"config":{"apiKey":"AIzaSyBgLAe7N_MdFpuVofMkcQLGwwhUu5tuxls","authDomain":"codepen-store-production.firebaseapp.com","databaseURL":"https://codepen-store-production.firebaseio.com","disabled":false,"projectId":"codepen-store-production"},"token":"eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImNsYWltcyI6eyJvd25lcklkIjoiVm9Ea05aIiwiYWRtaW4iOmZhbHNlfSwiZXhwIjoxNzM5MTU0MTU0LCJpYXQiOjE3MzkxNTA1NTQsImlzcyI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IlZvRGtOWiJ9.TnWtsznyVmtnGq7n9iCOf1RwTn3EnNmrCF3R4X2HwkxY61kNt-VvAfFjN62TkMUA4O_w4SnHyaNcionMfpVVNgveA6Yz2qPkVcOXpRcmUxDrd9XbZ3Sa02fSBP6VrrqB6XfjfBBof1p_4NqA9gmU8swe9AnMBWNQTjZFwCVZxzGkICbDLp4p-Nah_Sp0QRkYhdjt97vs5Xcd9W1Fxs6kKpCz6wZuMuMeLce2wBwf0PWGAT1OvLm_GadwZnkEJ1pHttV_crStfz7wZnBG57WKrM2-MWhOjw3lFgZE7bhVj6c1l4iCqWWBsvdzgGdiWDSRix3F6er23Cn1q0vKyuVomw"},"__pay_stripe_public_key":"pk_live_2GndomDfiklqpSNQn8FrGuwZSMIMzha7DkLJqlYe7IR0ihKAlKdiHg68JJc5eVPt68rzAjzAAVXcUwjySHRCsgjQQ00gtRBUFNH","__pay_braintree_env":"production","__item":"{\"id\":72466378,\"user_id\":4559259,\"html\":\"\",\"css\":\"body {\\n background-color: black;\\n display: flex;\\n height: 100vh;\\n overflow: hidden;\\n align-items: center;\\n justify-content: center;\\n}\\n\",\"js\":\"\\/\\/genuary2024 - No palettes;\\n\\/\\/Day 2\\n\\/\\/click to change\\n\\/\\/press any key to save (timing matters - think of how photos develop.)\\n\\n\\/\\/poetry for this code is on medium here: https:\\/\\/sophiawood.medium.com\\/in-dynamic-existence-3205a9bc6e07\\n\\n\\/\\/I did not comment or clean up code - sorry.\\n\\nlet a, b, c, d, m1, x1, y1, r2, g2, b2;\\nlet nRot;\\nfunction setup() {\\n cnv = createCanvas(windowWidth * 0.9, windowHeight * 0.9);\\n rectMode(CENTER);\\n nRot = int(random(5, 16));\\n a = width \\/ 6;\\n b = height \\/ 6;\\n c = random(-3, 3.1);\\n d = random(-3, 3.1);\\n x1 = random(width);\\n y1 = random(height);\\n r2 = random(150, 255);\\n g2 = random(150, 255);\\n b2 = random(150, 255);\\n \\/\\/ noLoop()\\n background(r2 \\/ 5, g2 \\/ 5, b2 \\/ 5);\\n}\\n\\nfunction draw() {\\n translate(width \\/ 2, height \\/ 2);\\n angleMode(DEGREES);\\n background(r2 \\/ 5, g2 \\/ 5, b2 \\/ 5, 2);\\n stroke(r2, g2, b2, 50);\\n if (width < 400) {\\n strokeWeight(0.25);\\n } else {\\n strokeWeight(0.5);\\n }\\n\\n a1 = a;\\n b1 = b;\\n c1 = c;\\n d1 = d;\\n for (let i = 0; i < 1000; i++) {\\n x = a1 * sin(x1 * d1 - a1 * y1) - (a1 \\/ 2) * cos(x1 * c1);\\n y = b1 * cos(x1 * d1) * sin(c1 + x1);\\n m1 = 1.5 - (1 * dist(x, y, 0, 0)) \\/ (width \\/ 2);\\n stroke(r2 * m1, g2 * m1, b2 * m1);\\n for (let j = 0; j < nRot; j++) {\\n push();\\n rotate((360 \\/ nRot) * j);\\n point(x, y);\\n pop();\\n }\\n\\n x1 = x;\\n y1 = y;\\n }\\n border();\\n}\\n\\nfunction border() {\\n noFill();\\n stroke(r2 \\/ 6, g2 \\/ 6, b2 \\/ 6);\\n strokeWeight(4);\\n rect(0, 0, width - 20, height - 20);\\n}\\n\\nfunction mousePressed() {\\n setup();\\n}\\n\\nfunction keyPressed() {\\n save(cnv, \\\"fleur\\\", \\\"png\\\");\\n}\\n\\nfunction windowResized() {\\n setup();\\n resizeCanvas(windowWidth * 0.9, windowHeight * 0.9);\\n}\\n\",\"html_pre_processor\":\"none\",\"css_pre_processor\":\"none\",\"js_pre_processor\":\"none\",\"html_classes\":\"\",\"css_starter\":\"neither\",\"js_library\":null,\"created_at\":\"2023-12-28T21:24:36.937Z\",\"updated_at\":\"2024-01-04T04:39:15.743Z\",\"title\":\"dynamic existence\",\"description\":\"\",\"slug_hash\":\"oNVXGrV\",\"head\":\"\",\"private\":false,\"slug_hash_private\":\"320254251eae86603ee63469976401a8\",\"has_animation\":false,\"team_id\":0,\"css_prefix\":\"neither\",\"template\":false,\"parent_id\":0,\"comments_count\":0,\"custom_screenshot_filename\":null,\"loves_count\":5,\"pick\":false,\"popularity\":31,\"views_count\":57,\"pick_visible_at\":null,\"cpid\":\"018cb250-9dc9-7778-a339-86712d50fa3f\",\"is_new_editor_pen\":false,\"protected\":false,\"access\":\"Public\",\"pen_hash\":null,\"hashid\":\"oNVXGrV\"}"}