Presented is a new method for the realization of a chaotic oscillator in a digital environment. First, a two-stroke sampling mathematical regulation is developed for discrete-time oscillator equations to change signal densities of chaotic signals. This proposed mathematical regulation is applied to Lorenz’s chaotic oscillator, which presents a complex dynamical behavior. An application is shown with simulation through a Matlab-Simulink environment with time-dependent density changes of and graphics and phase space graphics that are dependent on different density changes. Further to this, in an experimental study, Lorenz’s chaotic oscillator’s signals with variable density is applied to a DC motor as armature voltage via an 8-bit microcontroller based hardware environment. Chaotic supply voltage is applied to the motor rotor to generate a chaotic angular velocity. Time-dependent density change results of and graphics are obtained and shown on an oscilloscope by converting chaotic rotor angular velocity to electrical signals, through a tacho-generator. The observed results revealed that chaotic signal production with variable density is achieved both in the simulation environment and the experimental environment. Also, it is shown that the proposed program and mathematical equations are feasible in terms of hardware and software implementations.