r/Mathematica

▲ 49 r/Mathematica+2 crossposts

Camera streaming experiment

If you think WL is slow, you never used it with WLJS sauce 🍝

  1. connect to a web camera using device API

    cam = DeviceOpen["Camera"]; cam["FrameRate"] = 60;

  2. resize and pipe the raw image data to 3D point cloud with minor transformations

    Refresh[Module[{img, length}, img = ImageData[ ImageResize[ColorConvert[DeviceRead[cam], "GrayScale"], 100], "Real32" ]; length = Length[img] Length[img[[1]]]; vertices = MapIndexed[Join[#2, {50.0 #1}]&, img, {2}]; vertices = NumericArray[Flatten[vertices, 1], "Real32"];

    Graphics3D[GraphicsComplex[vertices, { Red, PointSize[0.0003], Point[Range[length]] }], ViewProjection->"Perspective", ImageSize->1000] ], 1/45.0]

NumericArray is important here. This forces WL to use more efficient data structure.

u/Inst2f — 13 hours ago
▲ 1 r/Mathematica+2 crossposts

Title: Can anyone solve this symbolic polynomial?

I've been experimenting with a symbolic mathematics system that uses custom glyphs instead of numeric coefficients.

Can anyone solve, simplify, or analyze the following equation?

⟴∴⊚·x^5 + ∞◦∮·x^4 + ⟴✧⊚·x^3 + ⟴◌⊚·x^2 + 〰∴≈·x + ⟴✦⊚ = 0

The coefficients are represented by symbolic glyphs rather than ordinary numbers.

I'm interested in seeing how people approach it before I reveal the mapping (if I reveal it at all).

Questions I'm curious about:

  • Is there anything you can deduce from the notation alone?
  • What information would you need to solve it rigorously?
  • If you encountered something like this in a research paper, how would you begin reverse engineering the coefficient system?

This is part of a larger symbolic math project I've been working on, so I'm mainly interested in your reasoning process rather than just an answer.

reddit.com
u/mse0808 — 5 days ago
▲ 0 r/Mathematica+1 crossposts

I did a programme and uploaded in You Tube related to Cramer's rule for finding intersection points for 2D equations and plot it in C++ via GNU Plot.

Just wanted to share that i did a programme in C++ for 2D equations to find their intersection points and also plot the graph of 2 equations via GNU.

Here i have uploaded the video do give me feedback. Thank you.

Do Like Share and Subscribe

https://youtu.be/F2BxeemH0IE?si=vAKX8i8uSR6L\_xPz

youtu.be
u/Nucleus_1911 — 14 days ago