Adding Trig Cubed Functions v0.1 by rubenalexander

View this thread on steempeak.com
· @rubenalexander · (edited)
$35.64
Adding Trig Cubed Functions v0.1
![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511237152/bw8k2kyjgk65f3vgqrex.png)

I was encouraged by @stellabelle to try out utopia.io and figured I would kill two birds with one stone  and make an update to some old code I uploaded to github.

It is a simple javascript and SVG code that draws circles along a path. I didn't want to choose any path, so I modify the path slightly over thousands of iterations.

This time around, I've added a new function which takes the path a sin function would generate and cubes the output. I've only uploaded this version (admittedly not the most efficient way to execute the idea) as a proof of concept.

Here are a few examples of what can be done with the type of modification  I've mentioned.

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238170/fnhd0dwixtu3ljytg1bd.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238358/fkmwrpp67apq0diaqlrz.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238472/clnjrfbzyc4novhfx93x.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238613/pr6tsutrlxgl4cyphpl3.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511239249/iqeuoy24sk1vppsn1uk8.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511239331/ezcf8xksuc2e3asyibco.png)

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511239538/oj6nakdodhjkfja6ht5c.png)

Here's a screenshot of my github account when I log in to show @rubenalexander = hizzvizz.

![image.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1511237436/te6uvhz5oacgw6jrhv70.png)




<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@rubenalexander/adding-trig-cubed-functions-v0-1">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id18,283,457
authorrubenalexander
permlinkadding-trig-cubed-functions-v0-1
categoryutopian-io
json_metadata"{"type": "development", "repository": {"compare_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/compare/{base}...{head}", "events_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/events", "forks": 0, "merges_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/merges", "issues_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/issues{/number}", "contents_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/contents/{+path}", "fork": false, "git_url": "git://github.com/hizzvizz/CirclePatterns.git", "assignees_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/assignees{/user}", "owner": {"login": "hizzvizz", "type": "User", "following_url": "https://api.github.com/users/hizzvizz/following{/other_user}", "received_events_url": "https://api.github.com/users/hizzvizz/received_events", "subscriptions_url": "https://api.github.com/users/hizzvizz/subscriptions", "repos_url": "https://api.github.com/users/hizzvizz/repos", "gravatar_id": "", "organizations_url": "https://api.github.com/users/hizzvizz/orgs", "id": 4871529, "avatar_url": "https://avatars3.githubusercontent.com/u/4871529?v=4", "site_admin": false, "followers_url": "https://api.github.com/users/hizzvizz/followers", "gists_url": "https://api.github.com/users/hizzvizz/gists{/gist_id}", "html_url": "https://github.com/hizzvizz", "events_url": "https://api.github.com/users/hizzvizz/events{/privacy}", "url": "https://api.github.com/users/hizzvizz", "starred_url": "https://api.github.com/users/hizzvizz/starred{/owner}{/repo}"}, "size": 1, "issue_events_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/issues/events{/number}", "git_refs_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/git/refs{/sha}", "blobs_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/git/blobs{/sha}", "pushed_at": "2017-11-21T03:59:41Z", "watchers_count": 0, "stargazers_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/stargazers", "teams_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/teams", "comments_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/comments{/number}", "archived": false, "svn_url": "https://github.com/hizzvizz/CirclePatterns", "id": 92986427, "subscribers_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/subscribers", "watchers": 0, "ssh_url": "git@github.com:hizzvizz/CirclePatterns.git", "name": "CirclePatterns", "mirror_url": null, "statuses_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/statuses/{sha}", "has_projects": true, "milestones_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/milestones{/number}", "description": "This repository was made as a request from Steemians to publish code related to a post I wrote.", "has_downloads": true, "keys_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/keys{/key_id}", "url": "https://api.github.com/repos/hizzvizz/CirclePatterns", "html_url": "https://github.com/hizzvizz/CirclePatterns", "commits_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/commits{/sha}", "open_issues_count": 0, "stargazers_count": 0, "branches_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/branches{/branch}", "score": 12.1319275, "forks_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/forks", "deployments_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/deployments", "language": "HTML", "homepage": null, "trees_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/git/trees{/sha}", "has_issues": true, "collaborators_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/collaborators{/collaborator}", "git_commits_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/git/commits{/sha}", "open_issues": 0, "private": false, "git_tags_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/git/tags{/sha}", "pulls_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/pulls{/number}", "releases_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/releases{/id}", "notifications_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/notifications{?since,all,participating}", "contributors_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/contributors", "full_name": "hizzvizz/CirclePatterns", "updated_at": "2017-05-31T20:45:33Z", "forks_count": 0, "downloads_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/downloads", "hooks_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/hooks", "languages_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/languages", "default_branch": "master", "labels_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/labels{/name}", "issue_comment_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/issues/comments{/number}", "has_pages": false, "tags_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/tags", "clone_url": "https://github.com/hizzvizz/CirclePatterns.git", "archive_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/{archive_format}{/ref}", "has_wiki": true, "created_at": "2017-05-31T20:35:06Z", "subscription_url": "https://api.github.com/repos/hizzvizz/CirclePatterns/subscription"}, "pullRequests": [], "format": "markdown", "image": ["https://res.cloudinary.com/hpiynhbhq/image/upload/v1511237152/bw8k2kyjgk65f3vgqrex.png"], "links": ["https://res.cloudinary.com/hpiynhbhq/image/upload/v1511237152/bw8k2kyjgk65f3vgqrex.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238170/fnhd0dwixtu3ljytg1bd.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238358/fkmwrpp67apq0diaqlrz.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238472/clnjrfbzyc4novhfx93x.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511238613/pr6tsutrlxgl4cyphpl3.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511239249/iqeuoy24sk1vppsn1uk8.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511239331/ezcf8xksuc2e3asyibco.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511239538/oj6nakdodhjkfja6ht5c.png", "https://res.cloudinary.com/hpiynhbhq/image/upload/v1511237436/te6uvhz5oacgw6jrhv70.png"], "app": "utopian/1.0.0", "platform": "github", "tags": ["utopian-io", "utopian", "javascript", "github", "art"], "community": "utopian", "users": ["stellabelle", "rubenalexander"]}"
created2017-11-21 04:47:36
last_update2017-11-21 04:53:27
depth0
children9
net_rshares17,939,299,688,902
last_payout2017-11-28 04:47:36
cashout_time1969-12-31 23:59:59
total_payout_value26.370 SBD
curator_payout_value9.274 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,845
author_reputation87,319,474,038,977
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries
0.
accountespoem
weight113
1.
accountfreedom
weight659
2.
accountlafona-miner
weight13
3.
accountmisterdelegation
weight549
4.
accountned
weight544
5.
accountruah
weight58
6.
accountsteempty
weight11
7.
accountwackou
weight53
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars5,000
author_curate_reward""
vote details (52)
@sheikh27 ·
nice workout with dim-dim light, digital electroart!
👍  
properties (23)
post_id18,283,776
authorsheikh27
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t045210826z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2017-11-21 04:52:21
last_update2017-11-21 04:52:21
depth1
children0
net_rshares3,073,313,403
last_payout2017-11-28 04:52:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length52
author_reputation11,049,263,568,487
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@funatoz ·
Hey you had really doing great and I can see it to your post. And this functions it seems to be an awesome contribution to this and I like your work
properties (22)
post_id18,283,848
authorfunatoz
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t045324877z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2017-11-21 04:53:30
last_update2017-11-21 04:53:30
depth1
children0
net_rshares0
last_payout2017-11-28 04:53:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length148
author_reputation20,417,379,446,695
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@godo ·
Nice functions!
properties (22)
post_id18,285,023
authorgodo
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t051132597z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2017-11-21 05:11:33
last_update2017-11-21 05:11:33
depth1
children0
net_rshares0
last_payout2017-11-28 05:11:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length15
author_reputation522,128,954,779
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemitboard ·
Congratulations @rubenalexander! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/voted.png)](http://steemitboard.com/@rubenalexander) Award for the number of upvotes received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click [here](https://steemit.com/@steemitboard)

If you no longer want to receive notifications, reply to this comment with the word `STOP`

> By upvoting this notification, you can help all Steemit users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
post_id18,303,351
authorsteemitboard
permlinksteemitboard-notify-rubenalexander-20171121t100317000z
categoryutopian-io
json_metadata"{"image": ["https://steemitboard.com/img/notifications.png"]}"
created2017-11-21 10:03:18
last_update2017-11-21 10:03:18
depth1
children0
net_rshares0
last_payout2017-11-28 10:03:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length707
author_reputation38,705,954,145,809
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@fahad290 ·
Really good post like it...
properties (22)
post_id18,318,597
authorfahad290
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t133940664z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2017-11-21 13:39:42
last_update2017-11-21 13:39:42
depth1
children0
net_rshares0
last_payout2017-11-28 13:39:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length27
author_reputation477,407,116,864
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@blazing ·
wow that could be that beautiful :D
properties (22)
post_id18,324,306
authorblazing
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t144334636z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2017-11-21 14:43:36
last_update2017-11-21 14:43:36
depth1
children0
net_rshares0
last_payout2017-11-28 14:43:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length35
author_reputation103,117,727,459,305
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steemiters ·
nicely said through pic
properties (22)
post_id18,328,528
authorsteemiters
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t152943271z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2017-11-21 15:29:42
last_update2017-11-21 15:29:42
depth1
children0
net_rshares0
last_payout2017-11-28 15:29:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length23
author_reputation215,443,469,003
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@ruah ·
$0.34
Thank you for the contribution. It has been approved.

You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
👍  
properties (23)
post_id18,369,160
authorruah
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171122t163018257z
categoryutopian-io
json_metadata"{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}"
created2017-11-22 00:32:33
last_update2017-11-22 00:32:33
depth1
children0
net_rshares141,607,216,950
last_payout2017-11-29 00:32:33
cashout_time1969-12-31 23:59:59
total_payout_value0.256 SBD
curator_payout_value0.085 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length172
author_reputation55,519,359,143,861
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@utopian-io ·
$0.58
### Hey @rubenalexander I am @utopian-io. I have just upvoted you at 10% Power!
#### Achievements
- This is your first accepted contribution here in Utopian. Welcome!
#### Suggestions
- Work on your followers to increase the votes/rewards. My vote is on the human input. Good luck!
- Contribute more often to get higher and higher rewards. I want to see you often!
- Wondering why other contributions got more? I introduced a competition factor. My vote is based also on how competitive the category used is.
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/2rSx9Eu">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy to my Witness</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
👍  
properties (23)
post_id18,383,001
authorutopian-io
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171122t040736097z
categoryutopian-io
json_metadata"{"app": "utopian/1.0.0", "community": "utopian", "tags": ["utopian-io"]}"
created2017-11-22 04:07:36
last_update2017-11-22 04:07:36
depth1
children0
net_rshares238,288,920,612
last_payout2017-11-29 04:07:36
cashout_time1969-12-31 23:59:59
total_payout_value0.438 SBD
curator_payout_value0.145 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,340
author_reputation152,913,012,544,965
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)