Electronic device for generating analog strokes and for digital storage of the analog strokes, wherein the device comprises components of a writing, drawing and/or colouring device for producing analog recordings on a recording carrier, wherein the device comprises electronic components and software for expanding the device into a digital writing and/or input device, wherein the device comprises at least one localisation unit, wherein a localisation between the device and a recording carrier is formed by the localisation unit, characterised in that the localisation unit comprises at least one inertial measurement unit, IMU, a camera reference system, a microcontroller and an evaluation software for absolute localisation of the device relative / with respect to the recording carrier, the localisation is formed as a localisation of at least three edge lines of the recording carrier for the analog recordings, the device comprises at least one movement detection unit, the movements of the device and thus-generated analog recordings in the co-ordinate system of the recording carrier are digitally detected by the movement detection unit, the movement detection unit is configured as a laser speckle motion tracker the laser tracker is configured as an XY tracker and the XY tracker is configured as a 2D detection unit for detection of the data X, Y in a Cartesian co-ordinate system X, Y as a function of time t, and the device is constructed as an electronic component at a distance measuring device for detecting the distance (h) between recording carrier and stylus tip for precise calculation or extrapolation of distortions/inaccuracies caused by height, the distance (h) is present as a function of time (t) and the distance measuring device is configured as a laser-supported distance measuring device. wherein the device comprises components of a writing, drawing and/or colouring device for producing analog recordings on a recording carrier, wherein the device comprises electronic components and software for expanding the device into a digital writing and/or input device, wherein the device comprises at least one localisation unit, wherein a localisation between the device and a recording carrier is formed by the localisation unit, characterised in that the localisation unit comprises at least one inertial measurement unit, IMU, a camera reference system, a microcontroller and an evaluation software for absolute localisation of the device relative / with respect to the recording carrier, the localisation is formed as a localisation of at least three edge lines of the recording carrier for the analog recordings, the device comprises at least one movement detection unit, the movements of the device and thus-generated analog recordings in the co-ordinate system of the recording carrier are digitally detected by the movement detection unit, the movement detection unit is configured as a laser speckle motion tracker the laser tracker is configured as an XY tracker and the XY tracker is configured as a 2D detection unit for detection of the data X, Y in a Cartesian co-ordinate system X, Y as a function of time t, and the device is constructed as an electronic component at a distance measuring device for detecting the distance (h) between recording carrier and stylus tip for precise calculation or extrapolation of distortions/inaccuracies caused by height, the distance (h) is present as a function of time (t) and the distance measuring device is configured as a laser-supported distance measuring device.