Program for making sinewaves in real time with Analog inputs (any language)

Hi, just like in the title, I’m trying to make a program code for making sinewaves that work with the analog pins when I have analog accelerometers connected to it. Is there a code that can take the voltages from the sensors and plot them to a graph in real time? which language an if there are any tutorials or any candidate who has the idea for making it. Thanks to those to help, it will help me alot to finish my project.

Google “beaglebone black adc” for a bunch of examples.