create account

Blender + Python experiments 1 by rubenalexander

View this thread on: hive.blogpeakd.comecency.com
· @rubenalexander · (edited)
$1.52
Blender + Python experiments 1
![image.png](https://files.peakd.com/file/peakd-hive/rubenalexander/pUod57wS-image.png)

As my summer grad class is ending, I am remembering how much I enjoy experimenting with no end goal in site. It helps me push the boundaries of what I know and allows me to synthesize new concepts.

Take for example the following code:

![image.png](https://files.peakd.com/file/peakd-hive/rubenalexander/mAn5xcIJ-image.png)

It is simple enough. Take two random numbers and subtracts them from each other. That value positive or negative can be tethered by a point that is the center of the screen and applied coordinates that controls the position of a circle which I've used to generate this movement.

![1.gif](https://files.peakd.com/file/peakd-hive/rubenalexander/6wCeIjyr-1.gif)

I have done this in Javascript or P5JS. Last night I got to port this over into Blender + Python. I still have to learn how to animate it, but I recorded my initial results.

![3.gif](https://files.peakd.com/file/peakd-hive/rubenalexander/Vy8TsnM4-3.gif)

![2.gif](https://files.peakd.com/file/peakd-hive/rubenalexander/BOuhaOvl-2.gif)

![4.gif](https://files.peakd.com/file/peakd-hive/rubenalexander/O3RiG5BK-4.gif)

I am learning about shaders now and should have results from those learning sessions soon.

Update! I used these shapes to make an animated NFT: https://nftshowroom.com/market/rubenalexander_discovery_discovery
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorrubenalexander
permlinkblender-python-experiments-1
categoryblender
json_metadata"{"app":"peakd/2020.07.1","description":"Experiments with using random values to compact and expand vertices of a 3D shape.","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/rubenalexander/pUod57wS-image.png","https://files.peakd.com/file/peakd-hive/rubenalexander/mAn5xcIJ-image.png","https://files.peakd.com/file/peakd-hive/rubenalexander/6wCeIjyr-1.gif","https://files.peakd.com/file/peakd-hive/rubenalexander/Vy8TsnM4-3.gif","https://files.peakd.com/file/peakd-hive/rubenalexander/BOuhaOvl-2.gif","https://files.peakd.com/file/peakd-hive/rubenalexander/O3RiG5BK-4.gif"],"tags":["blender","python","vfx","graphics","code","threed","geometry","math"],"links":["https://nftshowroom.com/market/rubenalexander_discovery_discovery"]}"
created2020-07-21 15:36:30
last_update2020-07-22 14:04:27
depth0
children3
last_payout2020-07-28 15:36:30
cashout_time1969-12-31 23:59:59
total_payout_value0.788 HBD
curator_payout_value0.729 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,405
author_reputation104,241,284,386,244
root_title"Blender + Python experiments 1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,642,488
net_rshares5,180,236,471,773
author_curate_reward""
vote details (42)
@chitty ·
I have picked your post for my daily hive voting initiative, Keep it up and Hive On!!
properties (22)
authorchitty
permlinkre-blender-python-experiments-1-20200724t000256
categoryblender
json_metadata""
created2020-07-24 00:03:00
last_update2020-07-24 00:03:00
depth1
children0
last_payout2020-07-31 00:03:00
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_length86
author_reputation86,901,300,608,582
root_title"Blender + Python experiments 1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,685,287
net_rshares0
@hivepeople ·
$0.03
cool stuff!
👍  
properties (23)
authorhivepeople
permlinkre-rubenalexander-qduxo8
categoryblender
json_metadata{"tags":["blender"],"app":"peakd/2020.07.1"}
created2020-07-22 06:21:45
last_update2020-07-22 06:21:45
depth1
children0
last_payout2020-07-29 06:21:45
cashout_time1969-12-31 23:59:59
total_payout_value0.014 HBD
curator_payout_value0.015 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation28,230,061,427,644
root_title"Blender + Python experiments 1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,653,439
net_rshares139,445,078,021
author_curate_reward""
vote details (1)
@manniman ·
Freaky stuff, nice open-source software usage!
properties (22)
authormanniman
permlinkre-rubenalexander-qe3gw4
categoryblender
json_metadata{"tags":["blender"],"app":"peakd/2020.07.1"}
created2020-07-26 20:57:45
last_update2020-07-26 20:57:45
depth1
children0
last_payout2020-08-02 20:57:45
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_length46
author_reputation77,790,724,868,389
root_title"Blender + Python experiments 1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,734,471
net_rshares0