Skip to content

2025

25-07-15 - Today I Learned...

If you have multiple levels of ForEach in VVVV and you pipe spread data through each level, you need to flatten the Spread in each ForEach.

Don't forget to pipe the values through the if otherwise they will not be saved.

You can't just add an element in a spread like in javascript. You first have to create the entry in the spread so there is space to add an actual value.

25-07-09 - Today I Learned...

If I want to access a local website like a local p5.js sketch on my ipad that is in the same network, i need to find the ip adress from my machine where the sketch is running and the port the sketch is running. Then I just can type in the adress into the browser of my tablet.

ipadressmachine:port

25-07-08 - Today I Learned...

Today I learned about acceleration and how to use the device acceleration in p5.js

Acceleration is the rate at which velocity changes over time.

Acceleration = Change in velocity / time taken

Speeding up -> positive acceleration Slowing down -> negative acceleration

for current acceleration you can use accelerationX,accelerationY,accelerationZ

for previours frames acceleration you can use pAccelerationX,pAccelerationY,pAccelerationZ

To limit the length of the float value use accelerationX.toFixed(2).

25-07-08 - Today I Learned...

Today I learned how to reference the current framerate with project.cookRate or me.time.rate in TouchDesigner.

25-06-25 - Today I Learned...

Today I learned again how to set the right path for your python version.

  1. Find the Python installation path.

  2. Add the Path to Windows:

  3. Win+R and sysdm.cpl to open the system window.
  4. Go to Advanced Tab and Environment Variables
  5. Under System Variables find Path -> Edit
  6. New and add the path to your Python
  7. Also add the path to the Scripts folder in the python folder.

  8. Restart terminal

25-06-25 - Today I Learned...

I learned the hard way that you should run your python and AI projects in a virtual environment so they don't create problems with other dependencies. python -m venv env with env as the name for the environment.

To run the environment you write env\Scripts\activate.bat or env\Scripts\activate.

With deactivate we simply can deactivate the virtual environment.

The packages and dependencies that we used in the environment we then can save in a requirements.txt file so if somebody else uses the project they can download themselves without us sending the dependencies. pip freeze > requirements.txt

25-04-14 - 002