create account

Adding Trig Cubed Functions v0.1 by rubenalexander

View this thread on: hive.blogpeakd.comecency.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)
authorrubenalexander
permlinkadding-trig-cubed-functions-v0-1
categoryutopian-io
json_metadata"{"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"score":12.1319275,"default_branch":"master","watchers":0,"open_issues":0,"forks":0,"open_issues_count":0,"archived":false,"mirror_url":null,"forks_count":0,"has_pages":false,"has_wiki":true,"has_downloads":true,"has_projects":true,"has_issues":true,"language":"HTML","watchers_count":0,"stargazers_count":0,"size":1,"homepage":null,"svn_url":"https://github.com/hizzvizz/CirclePatterns","clone_url":"https://github.com/hizzvizz/CirclePatterns.git","ssh_url":"git@github.com:hizzvizz/CirclePatterns.git","git_url":"git://github.com/hizzvizz/CirclePatterns.git","pushed_at":"2017-11-21T03:59:41Z","updated_at":"2017-05-31T20:45:33Z","created_at":"2017-05-31T20:35:06Z","deployments_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/deployments","releases_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/releases{/id}","labels_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/labels{/name}","notifications_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/notifications{?since,all,participating}","milestones_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/milestones{/number}","pulls_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/pulls{/number}","issues_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/issues{/number}","downloads_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/downloads","archive_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/{archive_format}{/ref}","merges_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/merges","compare_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/compare/{base}...{head}","contents_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/contents/{+path}","issue_comment_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/issues/comments{/number}","comments_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/comments{/number}","git_commits_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/git/commits{/sha}","commits_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/commits{/sha}","subscription_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/subscription","subscribers_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/subscribers","contributors_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/contributors","stargazers_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/stargazers","languages_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/languages","statuses_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/statuses/{sha}","trees_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/git/trees{/sha}","git_refs_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/git/refs{/sha}","git_tags_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/git/tags{/sha}","blobs_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/git/blobs{/sha}","tags_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/tags","branches_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/branches{/branch}","assignees_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/assignees{/user}","events_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/events","issue_events_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/issues/events{/number}","hooks_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/hooks","teams_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/teams","collaborators_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/collaborators{/collaborator}","keys_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/keys{/key_id}","forks_url":"https://api.github.com/repos/hizzvizz/CirclePatterns/forks","url":"https://api.github.com/repos/hizzvizz/CirclePatterns","fork":false,"description":"This repository was made as a request from Steemians to publish code related to a post I wrote.","html_url":"https://github.com/hizzvizz/CirclePatterns","private":false,"owner":{"site_admin":false,"type":"User","received_events_url":"https://api.github.com/users/hizzvizz/received_events","events_url":"https://api.github.com/users/hizzvizz/events{/privacy}","repos_url":"https://api.github.com/users/hizzvizz/repos","organizations_url":"https://api.github.com/users/hizzvizz/orgs","subscriptions_url":"https://api.github.com/users/hizzvizz/subscriptions","starred_url":"https://api.github.com/users/hizzvizz/starred{/owner}{/repo}","gists_url":"https://api.github.com/users/hizzvizz/gists{/gist_id}","following_url":"https://api.github.com/users/hizzvizz/following{/other_user}","followers_url":"https://api.github.com/users/hizzvizz/followers","html_url":"https://github.com/hizzvizz","url":"https://api.github.com/users/hizzvizz","gravatar_id":"","avatar_url":"https://avatars3.githubusercontent.com/u/4871529?v=4","id":4871529,"login":"hizzvizz"},"full_name":"hizzvizz/CirclePatterns","name":"CirclePatterns","id":92986427},"pullRequests":[],"platform":"github","type":"development","tags":["utopian-io","utopian","javascript","github","art"],"users":["stellabelle","rubenalexander"],"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"],"image":["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"]}"
created2017-11-21 04:47:36
last_update2017-11-21 04:53:27
depth0
children9
last_payout2017-11-28 04:47:36
cashout_time1969-12-31 23:59:59
total_payout_value26.370 HBD
curator_payout_value9.274 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,845
author_reputation104,241,284,386,244
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 HBD
percent_hbd5,000
post_id21,050,303
net_rshares17,939,299,688,902
author_curate_reward""
vote details (52)
@blazing ·
wow that could be that beautiful :D
properties (22)
authorblazing
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t144334636z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-11-21 14:43:36
last_update2017-11-21 14:43:36
depth1
children0
last_payout2017-11-28 14:43:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation117,662,220,860,076
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,095,908
net_rshares0
@fahad290 ·
Really good post like it...
properties (22)
authorfahad290
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t133940664z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-11-21 13:39:42
last_update2017-11-21 13:39:42
depth1
children0
last_payout2017-11-28 13:39:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length27
author_reputation477,526,596,075
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,089,556
net_rshares0
@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)
authorfunatoz
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t045324877z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-11-21 04:53:30
last_update2017-11-21 04:53:30
depth1
children0
last_payout2017-11-28 04:53:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length148
author_reputation19,218,937,059,918
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,050,724
net_rshares0
@godo ·
Nice functions!
properties (22)
authorgodo
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t051132597z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-11-21 05:11:33
last_update2017-11-21 05:11:33
depth1
children0
last_payout2017-11-28 05:11:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation522,256,187,287
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,052,011
net_rshares0
@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)
authorruah
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171122t163018257z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-22 00:32:33
last_update2017-11-22 00:32:33
depth1
children0
last_payout2017-11-29 00:32:33
cashout_time1969-12-31 23:59:59
total_payout_value0.256 HBD
curator_payout_value0.085 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length172
author_reputation55,491,574,280,489
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,145,859
net_rshares141,607,216,950
author_curate_reward""
vote details (1)
@sheikh27 ·
nice workout with dim-dim light, digital electroart!
👍  
properties (23)
authorsheikh27
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t045210826z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-11-21 04:52:21
last_update2017-11-21 04:52:21
depth1
children0
last_payout2017-11-28 04:52:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length52
author_reputation31,287,734,702,835
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,050,646
net_rshares3,073,313,403
author_curate_reward""
vote details (1)
@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)
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
last_payout2017-11-28 10:03:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length707
author_reputation38,975,615,169,260
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,072,320
net_rshares0
@steemiters ·
nicely said through pic
properties (22)
authorsteemiters
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171121t152943271z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2017-11-21 15:29:42
last_update2017-11-21 15:29:42
depth1
children0
last_payout2017-11-28 15:29:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation-504,423,454,544
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,100,570
net_rshares0
@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)
authorutopian-io
permlinkre-rubenalexander-adding-trig-cubed-functions-v0-1-20171122t040736097z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2017-11-22 04:07:36
last_update2017-11-22 04:07:36
depth1
children0
last_payout2017-11-29 04:07:36
cashout_time1969-12-31 23:59:59
total_payout_value0.438 HBD
curator_payout_value0.145 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,340
author_reputation152,955,367,999,756
root_title"Adding Trig Cubed Functions v0.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id21,161,381
net_rshares238,288,920,612
author_curate_reward""
vote details (1)