Yo !
A big program I’ve been working on : a multipurpose plotter that is able to display any 2D scatter plot.
To do that, I’ve coded my own equation parser. The user inputs the formula as a string and the parser is able to interpret the symbols into a mathematical equation. It is able to read any combination of operators, functions and variables. It takes into account the order of operations - parenthesis level included- by creating a parse tree similar to the syntax tree in a computer algebra system. I can then assign a value to the parameters and get the result of the equation the user entered. It is pretty complex and needed a lot of time to understand how to code it.
So the variables x, y and t are reserved to create the 2D plot.
The user can then input the equation he wishes and the program iterates it for him. We can then plot all sorts of curves - attractors, parametric, brownian movment,...
I also coded a simple GLSL shader that converts the final alpha t
4 views
1837
574
4 months ago 00:02:33 1
Holly Willoughby’s ’Vile’ Kidnap Plotter Gavin Plumb Sentenced to Life in Jail
8 months ago 01:34:28 3
Messalina | RS | Classic Peplum Film | Gladiator Movie | Roman Empire | Drama
10 months ago 00:02:41 1
HP DesignJet 1050 repairs - Replace print head
10 months ago 00:02:33 1
Rishi Sunak’s plotters didn’t have the guts to wield the knife in PMQs
11 months ago 00:26:13 1
Massive update on Materials System for Blender-- now works with Cycles!
1 year ago 00:48:07 1
What Is Beyond The Edge?
1 year ago 00:20:20 1
Birth of the Constitution of Japan After World War II