3D virtual experiments are applications of virtual reality in education. To improve the insufficient implementation of 3D virtual experiments, a 3D virtual experiment framework based on X3D and ActiveX is proposed. The implementation includes importing and exporting of components, loading and saving of experiment scenes, feedback of user interaction and collision detection. Moreover, control of ... [Show full abstract] the shape list is provided based on SOLID. The independence between the collision detection module and the X3D browser leads to better maintainability and flexibility of this framework.