I want to represent the line y = 4x + 2. I suppose it has something to do with a function in python that gives pairs of values x-y and another that matches the points. I know how to do lines using the bge module, but I would like to do it in another way.
Preferably I would like it to be a common way to represent other mathematical functions in 2D and 3D, and to be derivable and continuous. I would like to do this without using any addons.
Asked
Active
Viewed 726 times
3
Mr. Baldan
- 547
- 1
- 5
- 11
Scripting > Templates > Python > Operator Modal Drawshows both how to draw lines (with mouse) and text usingbglandblfrespectively. Highly recommend going thru, and running, the templates when starting out with python for blender. – batFINGER Jan 09 '18 at 10:18