Hackster is hosting Hackster Holidays, Ep. 7: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Friday!Stream Hackster Holidays, Ep. 7 on Friday!
UbiMaker
Published

Create Lissajous figures with Ubidots and Python

Watch how Lissajous Curves are painted in real-time using Ubidots' Math Engine

Full instructions provided2,510
Create Lissajous figures with Ubidots and Python

Story

Read more

Code

send_t.py

Plain text
from ubidots import ApiClient
# Create a Ubidots object
api = ApiClient('492f8bf3298e2244d20aa607b5c81b0d23fd91c7')

# Get our t variable using its variable ID
t = api.get_variable('55107b677625424f46b91fc4')

# Send a series of values between 1 and 1000
for i in range(1, 1000):
    t.save_value({'value':i})

Credits

UbiMaker
53 projects • 231 followers
Maker @ ubidots.com

Comments